echo -n 'a…b' | perl -pe 'utf8::encode($_); s@(.).(.)@$1$2@';
Ah, you were so close.
echo -n 'a…b' | perl -pe 'utf8::decode ($_); s@(.).(.)@$1$2@';In reply to Re: Match full utf-8 characters
by hippo
in thread Match full utf-8 characters
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |