Discussion:
[Jxplorer-users] Export - UTF-8
Thomas Foerster
2011-02-10 10:30:28 UTC
Permalink
Hi,

I have a problem with jxplorers export and UTF-8. May be it is a problem
of OpenLDAP or a problem with the used mozillaSchema...

The problem is the german "umlaut" (mutation). I.e. "ä", "ü" ...

I can import these mutations correctly with *.ldif, when I use
converting to UTF-8 with BOM (here in Notepad++). Importing "normal"
UTF-8 (without BOM) doesn't work (doesn't import the file).

While export is possible at all, all mutations from other schemas are
shown correctly. The mutations exported from this mozillaSchema are not
shown. The export.ldif shows something encrypted like this (I use a
mozillaSchema) instead of the real name of the country -> colon:

mozillaHomeCountryName:: RGXDvHRzY2hsYW5k

In JXplorer all mutations are shown correctly. They are also handled
correctly through OpenLDAP.

Any idea?

Thanks a lot!
Regards
Thomas Foerster
2011-02-10 13:56:47 UTC
Permalink
Hi,

now I've recognized that the export.ldif from JXplorer is always Unix
ANSI. If I convert it to UTF-8 with BOM I can reimport the file with
correct mutations (umlaut).

But my special problem still exists, because I've coded a program that
converts this export.ldif to *.csv to use it in other ways.

Could anyone help me how to bring this export.ldif line:

mozillaHomeCountryName:: w5ZzdGVycmVpY2g=

to its meaning:

mozillaHomeCountryName:Österreich (Austria)


Regards
Thomas
Post by Thomas Foerster
Hi,
I have a problem with jxplorers export and UTF-8. May be it is a problem
of OpenLDAP or a problem with the used mozillaSchema...
The problem is the german "umlaut" (mutation). I.e. "ä", "ü" ...
I can import these mutations correctly with *.ldif, when I use
converting to UTF-8 with BOM (here in Notepad++). Importing "normal"
UTF-8 (without BOM) doesn't work (doesn't import the file).
While export is possible at all, all mutations from other schemas are
shown correctly. The mutations exported from this mozillaSchema are not
shown. The export.ldif shows something encrypted like this (I use a
mozillaHomeCountryName:: RGXDvHRzY2hsYW5k
In JXplorer all mutations are shown correctly. They are also handled
correctly through OpenLDAP.
Any idea?
Thanks a lot!
Regards
------------------------------------------------------------------------------
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
Thomas Foerster
2011-02-10 16:56:58 UTC
Permalink
It is solved. It is base64-coding from UTF-8 string...

It must be converted this way.

Regards
Thomas

Continue reading on narkive:
Loading...