Windows-1250 encoding and DXLimport

I import some XML data using R6 DXLImporter class. There is no problem, if I use “encoding=‘utf-8’” in XML header.However, if I use “encoding=‘windows-1250’” (central european windows encoding), DXLImporter throws following error:

Type:Transcoding exception.

Message:Could not create converter for following encoding:windows-1250.

I removed all “accented” characters from XML body, but error occured again. (I don’t have problem to view this XML file in IE6 with MSXML parser.)

Question: Is this limitation of DXLImporter or is there any problem in my approach?

Subject: Windows-1250 encoding and DXLimport

I have the same problem with NotesSAXParser, it raises “TranscodingException, Could not create converter…” always, when XML file encoding is set to encoding=“Windows-1250” or encoding=“ISO-8859-2”.

In my case the problem is resolved by adding 2nd parametr to the NotesStream.open() method.

Try this:

call myStream.open(“xml_in_czech.xml”, “Windows-1250”)

It works fine for me, no exception is raised any more.

Hope it will help you with the DXLImporter as well.

Tomas