By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,530 Members | 880 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,530 IT Pros & Developers. It's quick & easy.

Can an HTML source file be specified in unicode ?

P: 1


I read the folowing discussion: +be+specified+in+unicode+%3F+&rnum=1#b50e36acb6d68 931

Wich is about charset encoding and HTML.

I am looking for a way to make my online service compatible for any
language. The text is stored in MySQL as UTF-8, it's collected from the
database as UTF-8, there is a Meta header in the HTML wich specifies
charset UTF-8, the PHP script wich serves the html file places an
header with content type UTF-8, the server will add an UTF-8 header to
all .html and .php files but still the source of the html file is
malformed with UTF-8 encoded characters!

The HTML file itself however displays the characters fine, just the
HTML source is malformed and this may cause google to index the site
improperly since we discovered that before.

Does anyone have any suggetion what else I should do to get the HTML
source to display the characters properly?

This is my site:

Best Regards,
Jan Jaap Hakvoort
Oct 12 '06 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 7,435
It could be lost in translation because you are sending it as utf-8 and my browser says it's utf-8 so are you possibly mixing ascii and utf-8 during any of this?
Oct 12 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.