I want to change encoding of text given in textbox
and display the encoded text in a new 'textbox'.
How can I do this using JavaScript?
Asked
Active
Viewed 739 times
2

D4NieLDev
- 260
- 1
- 3
- 14
-
1What kind of encoding? There's all kinds of ways of encoding text out there. – Mike Cluck May 04 '16 at 16:10
-
@MikeC I want to take text like that "ùìåí" and make it into that "שלום" I know that I should encode it or fix the encoding method or something that why I came here – D4NieLDev May 04 '16 at 16:13
-
@MikeC After a little checking I assume it is UTF-8 encoding – D4NieLDev May 04 '16 at 16:16
-
1Possible duplicate of [How do I convert special UTF-8 chars to their iso-8859-1 equivalent using javascript?](http://stackoverflow.com/questions/5396560/how-do-i-convert-special-utf-8-chars-to-their-iso-8859-1-equivalent-using-javasc) – Mike Cluck May 04 '16 at 16:17