ldap-explorer icon indicating copy to clipboard operation
ldap-explorer copied to clipboard

Problems with non-english characters

Open svenwanzenried opened this issue 2 months ago • 1 comments

Hi, I am sucessfully conencting to an LDAP server using this tool. Being in switzerland, there are quite some user entries in the LDAP that have german "umlauts" (ä,ö,ü) or french accents (é,è,ô, etc..). In the tree view, these characters are getting displayed wrongly:

Image

The part that is not pixelated should read "...rüti".

Also, when i search in the search view with a filter like (cn=...rüti). It won't find any result. Image

However, when I search with another attribute of this person like "(givenName=...)", then the cn and all other fields with "special" characters are getting displayed correctly:

Image

svenwanzenried avatar Oct 15 '25 20:10 svenwanzenried

Hi @svenwanzenried and thanks for bringing this up!

I did a quick test by having a local OpenLDAP server ingest this LDIF file:

dn: ou=foobar,dc=example,dc=org
ou: foobar
objectClass: top
objectClass: organizationalUnit

dn: cn=cérüti,ou=foobar,dc=example,dc=org
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: cérüti
sn: cérüti
description: Some random characters cérüti ; "umlauts" (ä,ö,ü) ; french accents (é,è,ô)
title: cérüti
givenName: cérüti

Accented characters show up as expected when browsing LDAP entries:

Image

The search functionality also finds results:

Image

I wonder if this could be caused by some kind of setting on the LDAP server, or maybe something specific to the VS Code runtime but unrelated to this extension.

Are you able to disclose which LDAP server you use?

fengtan avatar Oct 17 '25 02:10 fengtan