[Templates] Plugins and Unicode confusion

Bernhard Graf tt@augensalat.de
Fri, 17 Feb 2006 10:29:25 +0100


Trond Michelsen wrote:

~> perl -MPOSIX -le 'print POSIX::strftime("%B",0,0,0,1,2,106)' | od -t c
0000000   M 303 244   r   z  \n
0000006
~> LC_ALL=de_DE.UTF-8 perl -MPOSIX -le 'print POSIX::strftime("%B",0,0,0,1,2,106)' | od -t c
0000000   M 303 244   r   z  \n
0000006
~> LC_ALL=de_DE.UTF-8 perl -MPOSIX -le 'print POSIX::strftime("%B",0,0,0,1,2,106)' | od -t x1
0000000 4d c3 a4 72 7a 0a
0000006
~> LC_ALL=de_DE.ISO-8859-1 perl -MPOSIX -le 'print POSIX::strftime("%B",0,0,0,1,2,106)' | od -t c
0000000   M 344   r   z  \n
0000005
~> LC_ALL=de_DE.ISO-8859-1 perl -MPOSIX -le 'print POSIX::strftime("%B",0,0,0,1,2,106)' | od -t x1
0000000 4d e4 72 7a 0a
0000005

-- 
Bernhard Graf