Forums

  • # October 3, 2012 at 11:05 am

    I work in with alot of marketers in a tech company, they hand me swathes of copy, much of it containing special characters beyond apostrophes. So when I’m building a landing page using the HTML5 “< !doctype html>” I have to go in and scan the page for special characters, look up the unicode equivalent, update, re-load… and its just a waste of time when I’m pressed for time.

    What would be the next best DOC type that I could use to avoid having to do this?

    # October 3, 2012 at 11:25 am

    Don’t change the doctype — make sure you get the right charset setting. Usually, having this in the HEAD is enough:

    # October 4, 2012 at 7:25 am

    as @traq said, you can you force UTF-8 with .htaccess using this


    AddDefaultCharset utf-8
    AddCharset utf-8 .css .js .xml .json .rss .atom
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag