[Python-Dev] ascii default encoding
Tue, 18 Jul 2000 11:54:26 +0200
> > On the Macintosh string.whitespace is '\011\012\013\014\015 \312', bu=
> > the \312 causes problems because it can't be converted from/to unicod=
> > as long as the default encoding is ascii...
> on windows and unix boxes, the default locale is "posix" (aka "C"),
> which in practice means "plain ascii". the only way to end up with
> non-ascii characters in whitespace/uppercase/lowercase/etc is to
> explicitly change the locale (by calling locale.setlocale).
On the Mac, under CodeWarrior, the default locale (and, actually, the onl=
locale) is "C", and it uses the mac-roman charset, so including the upper=
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++=
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig =
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.=