> I'm fairly dumb when it comes to fonts. My problem is that I don't > control the source of the character and I would expect that in most > cases the characters that are a problem are in ANSI set from 127-255. > From what you're saying I'll have to pre-parse the string and replace it > with the matching character in Adobe. Is that right? Is there another > way?
If the character encoding of the source is supported by the xml-parser of fop then you have to do nothing. The xml-parser maps the characters to the correct unicode values. Fop use the xerces parser, see http://xml.apache.org/xerces-j/faq-general.html#faq-8 for the supported encodings. What character encoding do you use? It seems to be an extended ascii encoding which contains printable characters in the interval 128 .. 159, so it is not iso-8895-1. You can try cp1252 (latin 1 windows) (see http://czyborra.com/charsets/iso8859.html). Rainer Garus
