471,863 Members | 1,245 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,863 software developers and data experts.

converting UTF-8 to Shift-JIS (Hex) using javascript

Hi All,

How to convert UTF-8 text into Shift-JIS (Hex) format. I am able to convert UTF-8 to Unicode (Hex) (名 to Unicode (Hex): 0540D). And not able to convert to
名 to Shift-JIS (Hex): 96BC. Please any one suggest the solution using JavaScript.

Thanks in advance,

Srinivas Reddy. A
Oct 23 '08 #1
1 7126
acoder
16,027 Expert Mod 8TB
Why do you need JavaScript to convert this? Can you not just select the encoding from the browser?
Oct 24 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Maxim Kasimov | last post: by
22 posts views Thread by Keith MacDonald | last post: by
3 posts views Thread by j.a. harriman | last post: by
7 posts views Thread by Jimmy Shaw | last post: by
9 posts views Thread by Michael Goerz | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.