Ich m�chte in einem String ein � ersetzen mit oe. Leider bekomme ich es
nicht hin.
private String encode(String text) {
text = text.Replace("�","oe");
text = text.Replace("�","ae");
text = text.Replace("�","ue");
return text;
}
Funktioniert nicht. Das � wird nicht ersetzt. Wenn ich aber z.B. a nach
b �bersetzen lasse geht das.
Es funktioniert auch nicht wenn ich den Unicode zeichensatz benutze
private String encode(String text) {
text = text.Replace("\u00F6","oe");
text = text.Replace("�","ae");
text = text.Replace("�","ue");
return text;
}
.....?
| [aspdedotnet] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp