On Sun, 2007-05-27 at 10:36 +1000, Malcolm Tredinnick wrote:
> On Sat, 2007-05-26 at 15:25 -0700, Almad wrote:
> > Hello,
> >
> > when displaying list of my arcitles, I'm displaying first char of my
> > article as heading with {{ page.name.0 }}
> >
> > However, for non-ascii characters, this char is crippled - see
> > http://rpgpedia.cz/nastroje/wiki/seznam-clanku/ (bottom of the page).
>
> You are (correctly :-( ) being served the first byte from a string of
> bytes. It just happens to be half of a UTF-8 (or whetever encoding you
> are using) sequence of bytes, but Python has absolutely of knowing that.
Difficult to believe I speak English as a first language. :-(
That last sentence should end "... but Python has absolutely no way of
knowing that."
Sorry for any confusion.
Regards,
Malcolm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---