in reply to lost in utf8

What do you expect? This is UTF-8. Any difference is hard to see, though, as you're only printing ASCII characters... Try printing some non-ASCII characters, and you'll see those characters being encoded as multi-byte sequences.

(See UTF-8 and note that the range U+0000–U+007F (ASCII) encodes as single bytes.)

Replies are listed 'Best First'.
Re^2: lost in utf8
by pcouderc (Monk) on Oct 17, 2009 at 14:51 UTC
    Mmm, yes, thank you, my misundertanding of UTF8...