|
| From: | Antonio Macchi |
| Subject: | {# - strange behavior |
| Date: | Fri, 20 Feb 2009 17:39:49 +0100 |
| User-agent: | Thunderbird 2.0.0.12 (X11/20080213) |
$ a=$'\xd9\xbf'
$ echo ${#a}
1
$ a2=${a:0:1}
$ echo ${#a2}
1
this two characters are "j" and "k" graphical characters in linux
terminal/console
I need to extract only one... but apparently I can't.
| [Prev in Thread] | Current Thread | [Next in Thread] |