[Python-Dev] repr vs. str and locales again

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sun, 21 May 2000 18:26:00 +0200


Peter Funk <pf@artcom-gmbh.de> wrote:
> But if for some reason Umlauts end up as octal escapes ('\344' instead of 'ä')
> due to the use of a Python 'print some_tuple' during the creation of HTML
> files, a search engine will be unable to find those words with escaped
> umlauts.

umm.  why would anyone use "print some_tuple" when generating
HTML pages?  what if the tuple contains something that results in
a "<" character?

</F>