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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srinivasreddya
    New Member
    • Jun 2007
    • 2

    #1

    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
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Why do you need JavaScript to convert this? Can you not just select the encoding from the browser?

    Comment

    Working...