Hello, "Tom Culpepper" <[EMAIL PROTECTED]> wrote:
> I am not positive of the problem as I can not see your code, but if you > want to display the words that end in '5C' the you can do them like so: > \(escape character) like this: \(95 5C 5C) Putting a space (or some other character) after the character in question is actually a good "workaround"--though not really a solution :( Anyway, this kind of problem also exist with Chinese characters used in Japanese (sjis encoding). There could be various ways to handle this but here are some: 1. Try using a different encoding. Like utf-8 or some other Chinese encoding. (In Japanese, you can use euc instead of sjis.) 2. Creating your own addslashes function for "escaping". These are basically from the Japanese ML: (It's, of course, in Japanese.) http://ns1.php.gr.jp/pipermail/php-users/2001-August/001641.html By the way Samuel, there's a patched version of php that I've mention here: http://marc.theaimsgroup.com/?l=php-general&m=103781121614978&w=2 The patched version corrected some problems having to do with multi-byte strings so it might just work for Chinese as well. There were also some other info in the site I mentioned above but I'm afraid they're all in Japanese so... Anyway, I justed to post some ideas that might help. Also, please make sure to check the manual about multibyte strings-- http://www.php.net/manual/en/ref.mbstring.php - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php