there is a common problem with displaying text in webpages that are in thai because most webmaster lessons in thai teach the webmaster to declare a tis-620 encoding in the metas of the head of the html of the page.. this is erroneous and causes the browser to display a load of danish looking noughts and crosses. Most Thai webmasters declare a tis-620 encoding in their pages, instead of the correct windows-874.
The only way to display Thai automatically in a browser is to declare a windows-874 encoding in the head of the html page you are designing..
So often do i open a website in thai and the text doesnt display and have to go to "view\character encoding\thai-windows, to display it.. evry click on a link to the nextr page will revert to the jumbled letters again and the view\character encoding\thai-windows action must be repeated on every pagechange or refresh...
So, if you are webmaster, then remember to declare the encoding as windows-874 and your pages will always display perfectly
unfortunately even on this site there is a page saying
this choice of "codepage" is not self-identifying, which means that an out-of-band mechanism must be used to tell the browser what's going on. There are two ways to do this; one seems more important than the other. The most important thing is to include the following at the top of your HTML file:
(put opening tag here)meta http-equiv="Content-Type" content="text/html; charset=tis-620">(put closing tag here)
- This is COMPLETELY ERRONEOUS!!
here is the correct meta tag below
(put opening tag here) meta http-equiv="Content-Type" content="text/html; charset=windows-874" (put closing tag here)
if you wish to be xml/xhtml friendly with the tag then you should do this (i recommend it as most sites are now xml ready)
(put opening tag here)meta http-equiv="Content-Type" content="text/html; charset=windows-874" /(put closing tag here).
In case you don't know what i mean by "put opening tag here" (the forum wont let me use the full code), here is what an dopening tag looks like;
<
a closing one is so;
>




