[Python-Dev] Support of UTF-16 and UTF-32 source encodings

Chris Angelico rosuav at gmail.com
Sat Nov 14 20:59:32 EST 2015


On Sun, Nov 15, 2015 at 12:47 PM, Glenn Linderman <v+python at g.nevcal.com> wrote:
> On 11/14/2015 5:37 PM, Chris Angelico wrote:
>
> On Sun, Nov 15, 2015 at 12:27 PM, Glenn Linderman <v+python at g.nevcal.com>
> wrote:
>
> Notepad defaults to ANSI encoding, as I think it always has.  UTF-8 is an
> option, and it does seem to try to notice the original encoding of the file,
> when editing old files, but when creating a new one.... ANSI.
>
> Thanks. Is "ANSI" always an eight-bit ASCII-compatible encoding?
>
>
> I wouldn't trust an answer to this question that didn't come from someone
> that used Windows with Chinese, Japanese, or Korean, as their default
> language for the install. So I don't have a trustworthy answer to give.
>

Heh, yeah. But I'd trust an answer from Steve Dower :)

ChrisA


More information about the Python-Dev mailing list