Hi Stéphane,

the first issue is very difficult to analyse without detailed informations,
but the second issue is a simple charset problem.

Most LDAP-Servers use UTF-8 as charset for properties.
Under Windows normally UTF-16 (WideString) is used. So just look for UTF8 To UTF16 conversion and vice versa ...

In Delphi you can look for funktions like:

UTF8Encode
UTF8Decode
AnsiToUTF8 <http://strcpy.com/tag/AnsiToUTF8>
UTF8ToAnsi <http://strcpy.com/tag/UTF8ToAnsi>

Synapse also has a lot of stuff for charset conversion ...

Alex



Am 23.02.2010 20:37, schrieb Wierzbicki Stéphane:
Hello ,
I'm trying to get my LDAP records but I'm getting 2 errors :
- I don't get all the records (200 records out of 300).
- Some strings are not correctly displayed (for exemple "profilés métalliques pour renforts de fenêtres" is displayed like this : "profilés métalliques pour renforts de fenêtres") FWIW I've followed this sample (http://www.synapse.ararat.cz/doku.php/public:howto:ldapsample) and I'm using Delphi (unicode version)

Anyone has a clue for both of these problems ?

Thank you in advance


Stéphane Wierzbicki


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev


_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to