eugene2006 Posted October 16, 2006 Share Posted October 16, 2006 I have a problem with JS HTML encodingWhen I use non latin characters in window.alert() I get nonsenseIf I use it in document html like ᄋ 弫 ᄋ ᄋ and so on then it is shown ok but when I put the same code encoding into the alert() box I get these ᄋ 弫 ᄋ ᄋ but not non latin textHow to fix it? What are the possibilities? Quote Link to comment Share on other sites More sharing options...
fenway Posted October 17, 2006 Share Posted October 17, 2006 Yes, they will display literally... why not "cheat" and use PHP to decode them and put the resulting string into a JS variable? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.