Base64
Hello,
i write a programm, wich should read names from a textfile(ldif). My problem
is, when the name includet a german special charakter like Ä,ü or ß, the
String is encodet in Base64.
like
UsO8Y2tzdGVsbHVuZ2VuLCBBYmZpbmR1bmdlbiwgQm9udXMvTW FsdXMtLUFVU0dMRUlDSFNaQUhMVU4gR0VO
or
S3LDvGdlcixBbm5lZ3JldA==
how can i decode the Strings in cleartext
like:
String strEncodet = "S3LDvGdlcixBbm5lZ3JldA==";
String strDecodet = Base64.decode(strEncodet);
and the value of strDecodet is "Krüger,Annegret"
how can i do this in java, i hav'nt found a standart function.
Thank you Frank
|