"use utf8" instead of "use encoding 'UTF-8'" works wonders:

$ echo "Foo" | perl -Mutf8 -pi -e 's/éé/A/g;'

Source: http://perlmonks.org/?node_id=674382

-- 
perl crash in glibc
https://bugs.launchpad.net/bugs/133247
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to