BizTalk Server General - BizTalk output in UTF-16

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > April 2005 > BizTalk output in UTF-16





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author BizTalk output in UTF-16
Jeff Wessling

2005-04-25, 5:51 pm

I'm sending an xml file into BizTalk encoded as UTF-8, then using just the
Passthru pipelines I drop the file to a directory. When the file is output
it's written in UTF-16. Why is it re-encoded like this? Is there a setting
I'm missing somewhere?

Thanks,
Jeff


Scott Colestock

2005-04-25, 8:47 pm

The documentation has the following to say on this topic, and I've found it
to work out this way (as far as I've tested.)

The XML Assembler uses the following algorithm to determine output message
encoding:

1. If the XMLNorm.TargetCharset context property is set, its
value is used.

2. Otherwise, if the Target charset property is specified in
Pipeline Designer, its value is used.

3. Otherwise, if the XMLNorm.SourceCharset property is
specified, its value is used.

4. If none of the preceding properties is set, UTF-8 encoding
is used.


Scott Colestock
www.traceofthought.net


"Jeff Wessling" <jeff.wessling@qualifacts.com> wrote in message
news:%23Y%23TxrbSFHA.580@TK2MSFTNGP15.phx.gbl...
> I'm sending an xml file into BizTalk encoded as UTF-8, then using just the
> Passthru pipelines I drop the file to a directory. When the file is output
> it's written in UTF-16. Why is it re-encoded like this? Is there a setting
> I'm missing somewhere?
>
> Thanks,
> Jeff
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com