Just found this issue when using cocoon's CIncludeTransformer to
cinclude chinese ('UTF-8') xml.

Currently URLSource assumes the content-encoding to be systems default
encoding. It would be nice to support UTF-8 and other encodings, by
enhancing URLSource with a setEncoding and getEncoding method just as
org.xml.sax.InputSource has. For same reason it would also be nice to
have an extra method getReader.

The toSAX method of XMLizer expects an InputStream. It would be nice to
make it also capable to handle different encodings, by giving it an
extra method toSax with a Reader parameter.Or maybe giving it an
content-encoding parameter with the Configuration.

What do you think of these ideas? I am willing to make patch if this is
the way to go.

Greetz,
Marco



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

Reply via email to