User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 456,466 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,776 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 551 | Replies: 2
Reply
Join Date: Jul 2007
Posts: 7
Reputation: long_vn is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
long_vn long_vn is offline Offline
Newbie Poster

font problem

  #1  
Sep 13th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 8
Reputation: cmannering is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
cmannering's Avatar
cmannering cmannering is offline Offline
Newbie Poster

Re: font problem

  #2  
Sep 13th, 2007
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'
Reply With Quote  
Join Date: Jan 2007
Posts: 2,604
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 119
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: font problem

  #3  
Sep 13th, 2007
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
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 2:21 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC