A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006879.html below:

[Python-Dev] ascii default encoding

[Python-Dev] ascii default encodingJack Jansen jack@oratrix.nl
Tue, 18 Jul 2000 11:54:26 +0200
> > On the Macintosh string.whitespace is '\011\012\013\014\015 \312', bu=
t =

> > the \312 causes problems because it can't be converted from/to unicod=
e =

> > 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=
y =

locale) is "C", and it uses the mac-roman charset, so including the upper=
 128 =

characters.
--
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.=
htm =






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4