MySQL Forums
Forum List  »  Perl

Perl/mySQL/UTF-8 script works with IE, but no other browser...
Posted by: Keith Welch
Date: January 20, 2006 09:50AM

I'm developing a unicode based Chinese calligraphy dictionary. A user chooses a chinese character first by its romanized version (http://www.shufawest.us/zidian/z-test.html). The script performs a query and returns a new list of all appropriate Chinese characters (the actual characters in UTF-8 encoding). The user then clicks on the character of his choice, which sends a utf-8 character back to the script. Another query is performed, and all images linked to that character are displayed.

The problem is, only IE properly recognizes the UTF-8 characters in the browser address bar during the "get" action. The link for the 2nd stage of the selection process should look like "www.shufawest/cgi-bin/z-test.pl?char='X'", where 'X' is an actual chinese character encoded utf8.
But the character is only rendered correctly in IE. Therefore the first query returns an empty set in the other browsers.

Does anyone know what the difference is between IE and all the other browsers that might be causing this?

Thanks,
KW
IU Bloomington

Options: ReplyQuote


Subject
Written By
Posted
Perl/mySQL/UTF-8 script works with IE, but no other browser...
January 20, 2006 09:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.