>>>>> "ML" == Matthias Leopold <matth...@aic.at> writes:
ML> perl -e '$_ = "äö"; tr/"ä","ö"/"ae","oe"/; print $_."\n";' not that i do unicode much but that tr/// is wrong. it takes a single string in each part, not lists of "" strings. and it can't replace 1 char with 2. you need s/// for that. this works (as i said, i am an ascii bigot! :) $_ = "äö"; s/ä/ae/ ; s/ö/ao/ ; print "$_\n" ; aeao uri -- Uri Guttman -- uri AT perlhunter DOT com --- http://www.perlhunter.com -- ------------ Perl Developer Recruiting and Placement Services ------------- ----- Perl Code Review, Architecture, Development, Training, Support ------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/