Hi Andreas,

am Code kann es nicht liegen, bei mir l�uft das so !?!
Vielleicht eine L�ndereinstellungsgeschichte ?

Gru�
 Patrick

> -----Urspr�ngliche Nachricht-----
> Von: Andreas Rudischhauser (N) [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 2. August 2002 12:34
> An: aspDEdotnet
> Betreff: [aspdedotnet] Sonderzeichen
> 
> 
> 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

Antwort per Email an