joined:Jan 13, 2008
I made a regexp rule because Catalyst has some difficulties with uft8 and ISO etc.
It converts Ä ä Ö ö Ü ü ß to: Ã„ Ã¤ Ã– Ã¶ Ãœ Ã¼ ÃŸ on sending a form.
There is no way of decode so I wrote this rule:
$string =~ tr/[Ã„,Ã¤,Ã–,Ã¶,Ãœ,Ã¼,ÃŸ]/[¤Ä,¤ä,¤Ö,¤ö,¤Ü,¤ü,¤ß]/;
$string =~ s/¤//g;
But can anyone tell me is there is a simpler regexp?
Greetings from the Duch mountains,