ruby-ldap/ruby-net-ldap — pull request #35 by MarkCDSys (2012-03-20 16:58:18+00:00)
Title: Parse UTF-8 special-chars in Net::LDAP::Filter.construct()

I had the Problem that LDAP-Filter strings including german special-characters like 'ü' were not correctly parsed (in ruby-1.8.7).
For instance construct("cn=mü*") resulted in a parsed filter string of "cn=m".

I added the most common european UTF-8 special-chars to the regexp.
Probably there is a better way to do that, but it seems to work for me.