The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Suggested DOC type to avoid using unicode characters

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #40134

    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 “” 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?


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


    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)
  • The forum ‘CSS’ is closed to new topics and replies.