Hi all,
has anyone tried to use DXLexporter.exportDxl on different plattforms with different LANG-Settings? (Java)
I have the problem while exporting German mails to dxl using DXLExporter the DXLImporter runs into errors (like multi byte characters not allowed and so on…).
Playing with settings I’m able to import, but with errors and the created documents are incomplete or with nonsens characters.
The result from dxl exporting does NOT contain any information:
<?xml version='1.0'?>
I think the exporter should put something like
<?xml version='1.0' encoding='UTF-8'?>
The OS-based language environment on AIX is set to en_Us.
May I solve the problem by installing some language packs?
Do I have to set LANG to another one (de_DE@Euro)? (Maybe, this is the worst case, cause some other libs won’t be found after changing…)
Playing with LOCALE setting?
Setting any encoding/decoding properties in Java virtual machine?
Domino on a Linux system with de_DE language setting for the domino server user works fine…
Greetings
Magnus lobenhofer
Subject: Encoding on AIX: Where to set?
In my experience on Unixes (particularly on AIX) you should run Domino with LANG=C, else you may have different charset problems with your code. It seems that Domino per se runs fine, but it fails in different ways in code that directly or indirectly involves charset conversion. My guess is that this should help also with your problem.
Subject: RE: Encoding on AIX: Where to set?
Yes, I found this setting in the start script from domino_runtime RPM for SUSE Linux Enterprise. The script /opt/dominowrap/serverwrapper sets this LANG from the config file /etc/suseconfig/domino.
But the AIX machine has some environment settings with concatinated path by LANG, e.g. /usr/lib/$LANG/somethingelse …
So I fear some other applications will not run after changing LANG.
I will try it.
Thanks
Subject: RE: Encoding on AIX: Where to set?
as far as you set it in domino startup script you will set it only for the current session, imo. So other applications should not be affected.
Subject: How to export/import mail encrypted documents?
With LANG=C setting it seems to work, yes.
No, the next problem:
Did anyone export by dxl (DXLExporter.export) a document with encrypted attachments as the SuperAdmin (Full Adminstrator)?
The import seems not to work by default…
Or:
How to export and import an encrypted document by server agent to dxl/xml without the origin user id?
Thanks