Welcome Guest, Not a member yet? Register   Sign In
Correct encoding
#3

[eluser]HdotNET[/eluser]
Keep the character set uniform from database through to file and output.

So use this:

Code:
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

You may also want to send a UTF-8 server header prior to serving the page.

In my experience, using UTF-8 _everywhere_ means you have to pay less attention charset's in general.

EDIT: thought I was writing in a wiki and screwed the markup.


Messages In This Thread
Correct encoding - by El Forum - 09-25-2008, 06:52 AM
Correct encoding - by El Forum - 09-25-2008, 08:42 AM
Correct encoding - by El Forum - 09-25-2008, 08:58 AM
Correct encoding - by El Forum - 09-25-2008, 11:11 AM
Correct encoding - by El Forum - 09-25-2008, 11:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB