I have a variable that contains a string consisting of Japanese characters, for instance;
"みどりいろ"
How would I go about converting this to its Javascript escape form?
The result I am after for this example specifically is:
"u306fu3044u3044u308d"
I'd prefer a jquery approach if there's a variation.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…