On 8/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote:
> I do not think that filter chains will help here as they
> operate on Readers and not on input streams.

Actually, that may be why it "should" work. Java knows about optional
BOMs and does the right thing, as long as you tell it that the
encoding is UTF-16.

Alex, try playing with 'encoding' and 'outputencoding' attributes of
<concat> to see if that gets rid of the BOMs. I suspect the BOMs will
be "eaten up" for the char decoder and no longer appear in the
streams. --DD

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

Reply via email to