On Friday 12 December 2003 13:47, Ng Hwee Hwee wrote: > i've read the following comment on PHP.net and found it very troubling > because my database has Shift_JIS japanese words and my forms allow > japanese input as well, so, does anyone know how can I stripslashes > correctly when it comes to Japanese text? thanx thanx! Normally you would not need to use stripslashes() anyway. What are you trying to do? > hash at samurai dot fm > 01-Dec-2003 10:34 > Might I warn readers that they should be vary careful with the use of > stripslashes on Japanese text. The shift_jis character set includes a > number of two-byte code charcters that contain the hex-value 0x5c > (backslash) which will get stripped by this function thus garbling those > characters. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* I've never been drunk, but often I've been overserved. -- George Gobel */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php