[Templates] Plugins and Unicode confusion

Bernhard Graf tt@augensalat.de
Fri, 17 Feb 2006 00:15:16 +0100


Tatsuhiko Miyagawa wrote:

> On 2/16/06, Bernhard Graf <tt@augensalat.de> wrote:
> > On Thursday 16 February 2006 22:36, Tatsuhiko Miyagawa wrote:
> > > That's because Date plugin returns the string in latin-1, which
> > > is not "the right thing to do". It should be either UTF-8 bytes
> > > or Unicode string when you want to use Plugin::Encoding.
> >
> > I don't think it is the date plugin - I don't find any
> > encoding/decoding stuff inside it.
>
> Yeah, POSIX.

Then why does this work:

perl -MPOSIX -e 'print POSIX::strftime("%B",0,0,0,1,2,106), "\n";'
M=E4rz

=2D-=20
Bernhard Graf