[prev in list] [next in list] [prev in thread] [next in thread]
List: bash-bug
Subject: Re: Bash and Unicode
From: Jakub Jankiewicz <jcubic () onet ! pl>
Date: 2012-09-21 12:33:07
Message-ID: 20120921143307.78f6e2a1 () jcubic
[Download RAW message or body]
On Fri, 21 Sep 2012 11:46:26 +0200
Andreas Schwab <schwab@linux-m68k.org> wrote:
> Did you read <http://www.python.org/peps/pep-0263.html>?
>
> Andreas.
>
I forget about it, this work:
python -c '# coding: utf-8
print ord(u"ó")'
Probably interactive python have enabled it by default. I try to test
sed if I can swap one character and it's not by a chance handled as 2
characters
echo -n ó | sed -e 's/[ó]\{1\}/_/'
and it's not. The output is one "_"
So thanks with your help and sorry for trouble.
--
Jakub Jankiewicz, Web Developer
http://jcubic.pl
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic