/build/static/layout/Breadcrumb_cap_w.png

How to decode unicode base64 string in Javascript

Hi there, I am facing a little problem
I am decoding a base64 encoded string in javascript
I am getting correct results for english characters
but for characters in japanese language i am not getting correct answer
I somewhere studied that for it , i need to decode two bytes at a time
Can anyone please tell me how is it done
Thanks in advance

0 Comments   [ + ] Show comments

Answers (2)

Posted by: jimmy.alappatt 18 years ago
Senior Yellow Belt
0
Hi
the japaneese language string are not stored in the acsii or hex char.
So i think it is some what hard to do the manipulations on these characters.
you will get the details when you search in the net, about this.
any way what kind of manipulation you wanted to do on the string???

thanks and regards

Jimmy Antony
Posted by: vishal.dwivedi 18 years ago
Senior Yellow Belt
0
Well I am encoding japanese strings using C#
Then I need to decode them in Javascript

It is working for english but not for japanese
I dont know why
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ