On Feb 23, 2006, at 20:31, [EMAIL PROTECTED] wrote:

Hi,

<snip />
(A less important fact is, that list bullets are not rendered properly, I had a question mark instead of a bullet. Somewhere I have the sample code for rendering fancy bullets to RTF...)

Hmm... sounds like the much dreaded java.nio.charset.CharsetEncoder- initial-value question-mark :-)
Is this really an RTF-specific issue AFAYCT? I hope...

If I interpret correctly, docbook uses a fancy Unicode codepoint as content of a fo:list-item-label somewhere, and this is internally converted from/into bytes either without explicit encoding (platform default) or with an explicit encoding... Either way, if the used encoding scheme does not offer a character for that codepoint, etc.

Another possibility may be the encoding in the RTF itself. Have you tried forcing/changing the encoding in your RTF viewer? We need to find out whether that question-mark gets written to the RTF as a char '?', or whether it's the result of the right character being interpreted wrongly by the RTF viewer. The latter would mean that the encoding hint --whatever that is; I'm not fluent in RTF ;)-- that is created when building the RTF is different from the one that is used when converting the fancy characters into bytes in the resulting stream.


Cheers,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to