Link to home
Start Free TrialLog in
Avatar of Buraque
Buraque

asked on

Insert Japanese characters into MySQL database. I have to use "backslash" after Some "Kanji" symbols but which ones ??

Hi,

I am trying to insert some Japanese text into a MySQL database. My code and everything is working just fine, but I found that I have to put "backslash" after some of "kanji" symbols because some of them seems to have "backslash" and "semicolon" in their second bytes. To avoid character transformation, I have to use escape symbol "backslash" after that symbol.

I need to find a list of kanji symbols which backslash have to be used... Or some kind of javascript / vbscript / ASP code that reveals the second byte of a double-byte character...

Any help will be appreciated.
Avatar of Buraque
Buraque

ASKER

Well, I have made a further search on the net and I found that I need PHP's  [ addslashes(string) ]   equivalent of ASP or MySQL...
As long as i know, you need not do anything like adding backslashes in front of kanjis
If  the column is binary, where the Japanese characters will be stored, i think it should work

if you can tell more abt the errors, i think it should help
ASKER CERTIFIED SOLUTION
Avatar of Squeebee
Squeebee
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial