From: sri vela <[EMAIL PROTECTED]>
Hi all, I have a fo file which has some special characters, which are not being parsing by FOp and throwing "Invalid byte 1 of 1-byte UTF-8 sequence" exception. Can any one tell me how to fix this problem.please have a look at the Fo file.It is throwing exception at single quote which is used in "Trey's" word and also throwing the same exception for bullets also.I appreciate if some one could help me out from this problem.
Hi,
firstly questions like this should be posted to the fop-user list, as the fop-dev is a development forum.
I ran your file using FOP-0.20.5rc3a and did not receive the Invalid byte 1 of 1-byte UTF-8 sequence message. Typically you receive this message because the file contains characters that are outside the encoding of the XML file. The file you provided has a iso-8859-1 encoding.
Your file ran okay, but the apostrophe showed up as #. This means that the font family doesnt have a glyph for the codepoint. In the file, the codepoint you have used is for a fancy apostrophe. Sorry I didnt have time to work out the exact codepoint value. I simply deleted this character and inserted an apostrophe using the keyboard one. The output then came out as expected. If this is not acceptable then you will have to find a font that has a glyph for the fancy apostrophe.
The example you provided didnt have any bulleted lists in it, but I suspect you have tried to use a character entity, e.g. ߦ which is a code point that the font family doesnt have a glyph for.
Chris
_________________________________________________________________ Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
