UTF-16_Be, how to add into X4

Hi folks,

We have been developing a script that uses ZSI module in order to send data from the gateway (Connectport X4) to one external webserver using webservices.

We have managed to send the data (we see them into the external server) but the server’s answer creates an exception into our software, and inform us that UTF_16_BE module could not be found.

We have been looking around and don’t see the way to tell python to load this encoder. We have add the library the same way that UTF-8, but for some reason this doesn’t work.

Any idea or workaround?

Thanks in advance.

This is one of those occasions where I would recommend modifying the provided python.zip. Things like utf_16_be are provided as encodings in the system, by default we have only a minimal set. If you grab a stock Python 2.4 distribution, you should be able to take the utf_16 related encodings, place them into this directory in your python.zip and be able to proceed.

I have not done this specific exercise in some time however. I believe it will work,but you may have to add another file or two as well. Let us know how it goes.