954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

font problem

dear all.
I am using php to design my website. I am vietnamese so i use font utf-8 in my database. But when i used php to connect to database, the display of the result has a problem. It was neither vietnamese to english. It had strange symbol. I think my php was not encoded to utf-8.
Please help me.

long_vn
Newbie Poster
7 posts since Jul 2007
Reputation Points: 10
Solved Threads: 0
 

It is probably an issue with the php config file. In config.php, there is a section to enable multi-language support.

So look on your server in the directory where the config file resides.

Make sure it has something like..

// Supported languages
// Maps a shortcut to a Geeklog language file (without the '.php' extension)
$_CONF['language_files'] = array (
    'en' => 'english',
    'de' => 'german_formal'
cmannering
Newbie Poster
8 posts since Sep 2007
Reputation Points: 10
Solved Threads: 1
 

If the computer looking at the site does not have a Vietnamese font, you are going to get zxnrbl instead. It will try to substitute the closest thing to it, and that could be anything.

Using utf does not guarantee that all of the characters can be displayed on a particular computer. I checked through my fonts, and found only the following languages:

- English
- Western European
- Spanish
- Scandinavian
- Greek
- Russian
- Arabic
- Japanese phonetic

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You