I am using JNDI to connect to a LDAP server. A few attributes on the server are stored as BASE64 string.
However, when I query the server and get results back. These attributes are already decoded but not properly. For example, "abc-def@domain.com" may be decoded as "abcûdef@domain.com".
Any idea on how can I fix this?
Added:
The original BASE64 string is:
Q049XCtHcm91cCBBUFNHLU9uLWJvYXJkaW5n4oCTTllDLE9VPU5ZQyxPV
20=