Fix for DIRSTUDIO-861 (Errors with DNs containing non-ASCII values on Active Directory). Applied patch from Grzegorz Grzybek.