You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Richard Young <ry...@us.ibm.com> on 2002/12/24 15:23:13 UTC

fop recommendations on OS/390

I am looking for recommendations on whether my XML file as input to 
FOP should be EBCDIC or ASCII.  The application will be running as 
a servlet within WebSphere.    I think either type of encoding could be 
made to work, but which would be best? 
We currently have a servlet creating an EBCDIC XML file as input to 
FOP processing.


Richard Young

Re: fop recommendations on OS/390

Posted by Joerg Pietschmann <j3...@yahoo.de>.
On Tuesday 24 December 2002 15:23, you wrote:
> I am looking for recommendations on whether my XML file as input to
> FOP should be EBCDIC or ASCII.  The application will be running as
> a servlet within WebSphere.    I think either type of encoding could be
> made to work, but which would be best?
> We currently have a servlet creating an EBCDIC XML file as input to
> FOP processing.

There is no "best".
Check:
- Do you have an XML parser which understands EBCDIC encoding
  (I'd think "obviously", but then, your statement above might be bogus).
- Do you have to produce some input with a native OS/390 editor, which
  naturally produces EBDIC encoded files?
- Do you have to include data from non-mainframe platforms, which rarely
  produce EBDIC?
- What is the encoding of the strings in the database? Can this easily be
  changed?
- Do you have to produce serialized XML at all? If you use SAX or DOM
  in Java, everything is Unicode anyway.

If data manipulation with common mainframe tools is the exception
rather than the rule, I'd use ISO-8859-1 (western languages only), UTF-8
(east asian languages are insignificant) or UTF-16 (east asian languages
are significant) everywhere, including, and this is important, for storing
data in the DB.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org