Vietnamese text on the web

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rhecker
Forum Contributor
Posts: 178
Joined: Fri Jul 11, 2008 5:49 pm

Vietnamese text on the web

Post by rhecker »

I have web pages that include Vietnamese text, and some of the characters are not displaying correctly. As an example, if you go to...
http://www.sivanandayogavietnam.org/page.php?page_id=1

then select the Vietnamese option from the menu bar, you will see that some of the characters in the green subheading text displays as question marks or squares.

Also, if you look at the source code, you will see that all of the special characters are created by using &# and a numeric code, whereas the sourcecode of text I look at on Vietnamese websites simply shows the special characters as they display.

The text for these pages is pulled from a mySQL table.

I've been searching the web for guidance regarding handling foriegn language text, getting it to display correctly, but have not found anything that helps me understand what I may be doing wrong. Can someone point me in the right direction? Thanks.
Post Reply