Discussion:
Receiving XML with ISO 8859/1
(too old to reply)
Idar H
2008-09-02 11:47:01 UTC
Permalink
Hi

I try to let BizTalk Server 2006 R2 receive an XML-document with the
characters æøå, but they are replaced with ??? when I use XML Receive.

Does anyone knows how to avoid this?
--
Thanks,
Idar
Tomas Restrepo [MVP]
2008-09-02 12:56:40 UTC
Permalink
Idar,
Post by Idar H
I try to let BizTalk Server 2006 R2 receive an XML-document with the
characters æøå, but they are replaced with ??? when I use XML Receive.
Does anyone knows how to avoid this?
That probably means BizTalk is misinterpreting (or rather, guessing
incorrectly) what encoding the document is in.

If your XML document has an <?xml?> declaration, check if it has an encoding
attribute, and if yes, that it has the right encoding specified.

Another possible workaround for this would be to use my FixEncoding pipeline
component on the decode stage of your pipeline and use it to explicitly tell
the disassembler what encoding the message is expected in:

http://www.winterdom.com/weblog/2006/01/31/FixMessageEncodingCustomPipelineComponentSample.aspx
--
Tomas Restrepo
http://www.winterdom.com/weblog/
Loading...