Hello all,
I'm not quite sure if my mind plays a trick on me, but was there a way to save eg. (for readability I'll use HTML-Entities, of course it should and will be UTF-8 in LDIF)
dn: ... cn: Müller
and find it with the filter
(cn=Mueller)
?
Or do I have to save all permutations of "Ascii-replacement"/"UTF-8" for each and every entry/attribute? (that seems rather cumbersome and rises the question: which attribute value is the "correct" one?)
If this already is written in the FAQ, please excuse my shallow "googleing". Perhaps I just missed the right keywords.
bye Christian
Christian Marg writes:
I'm not quite sure if my mind plays a trick on me, but was there a way to save eg. (for readability I'll use HTML-Entities, of course it should and will be UTF-8 in LDIF) dn: ... cn: Müller and find it with the filter (cn=Mueller) ?
None that I remeber.
Or do I have to save all permutations of "Ascii-replacement"/"UTF-8" for each and every entry/attribute?
For each attribute value, anyway. But you can at least use access controls so that the variants stay "invisible". E.g. use the x-hidden option example in slapd.conf, and store
cn: Müller (un-HTMLified) cn;x-hidden: Muller cn;x-hidden: Mueller
Hello Christian,
maybe you could use slapo_rwm to rewrite Mueller to Müller. The rewrite rule could look like this (very much like the add/eat blanks examples):
rwm-rewriteRule "(.*)ae(.*)" "$1ä$2"
The same should be possible for ö ü and ß. I'm not shure if this will work, as it is an idea, rather than an solution. I'm not able to test it at the moment so you will have to try yourself.
regards
Simon
Christian Marg wrote:
Hello all,
I'm not quite sure if my mind plays a trick on me, but was there a way to save eg. (for readability I'll use HTML-Entities, of course it should and will be UTF-8 in LDIF)
dn: ... cn: Müller
and find it with the filter
(cn=Mueller)
?
Or do I have to save all permutations of "Ascii-replacement"/"UTF-8" for each and every entry/attribute? (that seems rather cumbersome and rises the question: which attribute value is the "correct" one?)
If this already is written in the FAQ, please excuse my shallow "googleing". Perhaps I just missed the right keywords.
bye Christian
openldap-software@openldap.org