|
|
 |
RE: FN-FORUM: Japanese encoding/charsets in RTF files
date posted 21st March 2006 10:47
On Mon, 20 Mar 2006, ashley etchell wrote:
> Is there a way to pass the RTF doc through something else once its created
> to convert the text into UTF-8?
Don't know.
According to the 1.6 spec
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec.asp
you can embed Unicode in the document by just escaping it.
You can use http://uk.php.net/manual/en/function.iconv.php to map
Shift_JIS to UTF-8.
If the RTF generator can't cope with the UTF-8 then I'd look at first
getting a UTF-8 encoded html page working and see if transforming it to
another format, say PDF, is acceptable to the client.
Or maybe with something like this
http://phpdocwriter.sourceforge.net/
and using openoffice programmatically to generate the final format?
--
Graeme -
Top posting.
What's the most annoying thing about this forum?
Outlook Express: http://home.in.tum.de/~jain/software/oe-quotefix/
|
 |
|