Hi there guys,
I posted earlier about this problem, but as I refine it, I thought it best I start a new thread with all of the details:
I have a user of the script that is using it in a Korean language environment. I created the script to set the html headers via the lang file, to allow the user to be able to se the charset for their language and I set the collation of the MySQL db to UTF-8.
My page header:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'>
Of course, in his language, the charset is different, set to his language, but since I can't view his lang file without corrupting it, I can't see it. I can however link you to the lang file, whose first definition is the charset:
KR lang file
Ok, now here's where it gets odd.
He states that he has to have the headers set to UTF 8 in the browser to see the script language data correctly, but you has to have the browser set to western mode if he wants the submitted data to show up correctly. In short, he has to choose which will be corrupted, either the language file data, or what gets submitted into the database.
He even provided a graphical representation of his problem.
I've run out of ideas! What can I do to get this to work correctly? Any help would be greatly appreciated!
thanks,
json