Hi, You might want s/// operator. For example,
$ perl -le '$str="中文";$str=~s/中文/Chinese/;print $str' Chinese $ env|grep LANG LANG=en_US.UTF-8 08 сентября 2011, 12:35 от Matthias Leopold <matth...@aic.at>: > hi, > > perl -e '$_ = "äö"; tr/"ä","ö"/"ae","oe"/; print $_."\n";' > > expected result: aeoe > actual result: aeae > > why? > > thx > matthias > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > -- Jeff Pang jeffp...@mail.ru