TwelvestoneBack End

Charsets and PHP - a useful article


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
DontBogartMe
 
2009-11-17

if you're having trouble with your character sets in PHP, having funny characters appearing and not really sure how to escape apostrophes and quotes... this was a useful read:

http://www.phpwact.org/php/i18n/charsets

particularly the explanations of the htmlspecialchars function, how you only really need to encode those "special five" characters, the rest can stay as they are in a UTF-8 doc.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneBack End

Charsets and PHP - a useful article