|
Hi there, using Kix Ver.4.22 on Windows XP I'm having problems to get German Umlaute replaced. I'm using the following Code: [code] SELECT CASE INSTR($NAME,"ä") $NAME = replace($NAME, "ä", "ae") CASE INSTR($NAME,"ö") $NAME = replace($NAME, "ö", "oe") CASE INSTR($NAME,"ü") $NAME = replace($NAME, "ü", "ue") CASE INSTR($NAME,"Ä") $NAME = replace($NAME, "Ä", "Ae") CASE INSTR($NAME,"Ö") $NAME = replace($NAME, "Ö", "Oe") CASE INSTR($NAME,"Ü") $NAME = replace($NAME, "Ü", "Ue") CASE INSTR($NAME,"ß") $NAME = replace($NAME, "ß", "ss") CASE INSTR($NAME," ") $NAME = replace($NAME, " ", "_") ENDSELECT
? $NAME
Function Replace($String,$SS,$RS) $Replace=Join(Split($String,$SS),$RS) EndFunction [/code] If I now translate "Wäsche" it replaces correctly, however having for example "Wäsche Änderung" I get back "Waesche aenderung" Any ideas ?
Thanks, Rainer
|