Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

I have a problem with JS HTML encoding

I have a problem with JS HTML encoding

4:21 pm on Oct 16, 2006 (gmt 0)

New User

10+ Year Member

joined:Sept 9, 2006
votes: 0

I have a problem with JS HTML encoding
When I use non latin characters in window.alert() I get nonsense
If 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 text
How to fix it? What are the possibilities?
6:30 pm on Oct 16, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member kaled is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 2, 2003
votes: 0

Just a guess...

Have you tried using the unescape() function?

Bear in mind, on an html page, you can specify a character set, but I don't think there is any such thing for Windows dialogs but you might be ok on a Mac.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members