c# - Japanese unicode in string -


this question has answer here:

how store japanese character in string without slash?

string jap ="\\x30f8"; 

prints "\x30f8" while

string jap = "\\\x30f8"; 

prints "\ヸ"

only 1 backslash necessary in hexadecimal escape sequence:

string text = "\x30f8"; 

you can use unicode escape sequence:

string text = "\u30f8"; 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -