Sorry for no info in last message.
I have a certificate with non-ascii characters in it. Then i try to
search this certificate there is no luck(but ok with others). Is it
possible to encode no-ascii character to something that openldap can
understand?

Can you provide more details? How are the NON-ASCII chars encoded in the
cert? I vaguely remember at least three different ASN.1 string types to
be used.