Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Base64
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 25th February 04:12
frank loffelt
External User
 
Posts: 1
Default 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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666