jpgraph:problem with displaying japanese font
Posted: Tue Apr 10, 2007 2:48 am
Hello, I seem to be having problems in displaying Japanese fonts with jpgraph. Here are some of the things I remember doing (there may be more ^^;) :
1. Used the specified TTF fonts in the config file
2. Used the equivalent TTC fonts and changed the config file accordingly
3. Changed the encoding of the file when it saves
4. Forced encoding using mb_change_encoding function (going between EUC-JP, JIS, SJIS, and the UTF-8 encodings)
5. Edited php.ini
My computer system uses the Japanese version of Win2K and I've used at least 3 different editors for coding (and repeating the steps above per editor)... But everytime I run the codes, it displays either a question mark, a blank, or garbage values...
Any help would be greatly appreciated... Thank you!
1. Used the specified TTF fonts in the config file
2. Used the equivalent TTC fonts and changed the config file accordingly
3. Changed the encoding of the file when it saves
4. Forced encoding using mb_change_encoding function (going between EUC-JP, JIS, SJIS, and the UTF-8 encodings)
5. Edited php.ini
My computer system uses the Japanese version of Win2K and I've used at least 3 different editors for coding (and repeating the steps above per editor)... But everytime I run the codes, it displays either a question mark, a blank, or garbage values...
Any help would be greatly appreciated... Thank you!