Jump to content
Sign in to follow this  
Jascha

Deploy page in UTF8

Recommended Posts

Hallo,

 

is it possible to deploy the HTML Page in UTF8?

I can change the charset of the Content-Type in the index.html resource file. But all strings, which I code in pascal are still ISO-8859-1.

 

I need UTF8 for some external Javascript libraries which except the input to be UTF8.

 

Thank You

Share this post


Link to post
Share on other sites

If you mean the actual html file, then sure. You can re-code it using notepad -> save as .. (then pick format).

 

If you mean you want to re-code the actual characters (which are UTF-16 by default), there are many examples of this:

 

http://ecmanaut.blogspot.no/2006/07/encoding-decoding-utf8-in-javascript.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×