|
|
| |
1. RTF Generator and Greek/ East European characters |
|
Reply |
|
|
 Van Wiele | 2004-12-16 10:24:06 |
Hello,
I tested your RTF Generator and found it very usefull! Thanks!
I use it together with php scripts and a PostgreSQL DB.
However, when my boss asked me to use it for more "exotic" languages like greek, russian and others the output was only a mixture of strange characters and question marks.
My DB is in UTF-8 and I use utf8_decode() for the values retreived from my queries.
Now, is there a way to fix that output problem?
Many thanks in advance! |
| |
2. Re: RTF Generator and Greek/ East European characters |
|
Reply |
|
|
 Charlie Cheng | 2007-01-23 12:56:52 - In reply to message 1 from Van Wiele |
i have had similar issues. Try to save things in Chinese. But it doesn't work. Have tried http://latex2rtf.sourceforge.net/rtfspec_6.html, but it is still not successful.
best regards
charlie |
| |
3. Re: RTF Generator and Greek/ East European characters |
|
Reply |
|
|
 Piotr | 2009-12-15 13:40:22 - In reply to message 1 from Van Wiele |
You have to change the charset value in source_rtf.php
It is set to 0 by default, which is ANSI. Here is the complete table:
0ANSI
1Default
2Symbol
3Invalid
77Mac
128Shift Jis
129Hangul
130Johab
134GB2312
136Big5
161Greek
162Turkish
163Vietnamese
177Hebrew
178Arabic
179Arabic Traditional
180Arabic user
181Hebrew user
186Baltic
204Russian
222Thai
238Eastern European
254PC 437
255OEM |
| |
4. Re: RTF Generator and Greek/ East European characters |
|
Reply |
|
|
 Igor Zinovev | 2009-12-20 20:16:23 - In reply to message 3 from Piotr |
| Wow, thanks for clarifying those! I would have NEVER guessed that CP1251 is 204 :) |
|