my problem is, FOP can't be run on non ascii environments.
I started a similar topic in July, my solution worked, but had not been
really good for most people.
I revised the problem a little bit, and I think I found a solution that
should fit for everybody.

There are 2 problems:
- config files:
    The config-files are ASCII files, but jar-files are binary files, so

    on EBCDIC systems everything is messed up.
    Fix: When accessing the config files add a standard ascii locale
like "iso-5589-1".
    No problem on ASCII Systems. Fix for EBCDIC.
- pdf generation process:
    AFAIK pdf can handle different character encodings. (Is that right
    BUT: AFAIK pdf can handle only different character encodings of the
    of the document, NOT the TAGS. (Is that right ???)
    For example the pdf tag <A> (Don't know whether there is this tag)
    to be in the resulting pdf file independent from the character
encoding of
    the content: 0x3c 0x41 0x3e.
    In FOP this pdf tags are handled like normal strings and character
conversion takes place,
    which is on ASCII or Unicode or UTF or.. Systems no problem, because

    all used characters are below 0x80 and therefore not converted.
    Only EBCDIC has a problem, because the Java 2-byte unicode gets
    converted at the output to EBCDIC, and here also the characters
below 0x80
    are different.
    Fix: There are two solutions possible:
      - Hard code the binary values of the tags. Really much work.
      - Use at the output a ascii locale. Much less work, but I don't
know whether
         that will produce a problem with the unicode support.

Any comments are welcome.
I'm not a pdf nor a character encoding specialist, but I simply have to
FOP on a S/390, so forgive me any mistakes.

Is there a chance a fix for EBCDIC systems could be introduced to the
official FOP, because
more and more people are mailing me questions and I'm tired explainig it
over and over again.



org:Software Service Wulf Schupp GmbH;Spieljoch
adr:;;Spieljochstr. 34;München;;81825;Germany
email;internet:[EMAIL PROTECTED]
note;quoted-printable:[dF]Quisam=0D=0Awww.discordian-Front.de=0D=0AHail Eris !!!=0D=0AHappy Frag !!!
fn:Markus Bernhardt

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

Reply via email to