Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: python3 question
Date: Wed, 13 Jan 2021 20:06:38
Message-Id: 42c97221-687e-ed0f-2c96-f6b54a0d35b2@web.de
In Reply to: [gentoo-user] Re: python3 question by Grant Edwards
1 On 1/13/21 8:57 PM, Grant Edwards wrote:
2 > On 2021-01-13, n952162 <n952162@×××.de> wrote:
3 >
4 >> # -*- coding: utf-8 -*- [ this has to be in line1 or line2!!! ]
5 > If you have that line in your source code, make sure your editor is
6 > saving the file in UTF-8 encoding.
7 >
8 >> Oh, I think that gave me a solution!
9 >>
10 >> # -*- coding: latin1 -*- [ this has to be in line1 or line2!!! ]
11 >>
12 >> seems to work. At least, I got some other errors now ;-)
13 > What encoding is your editor using?
14 >
15 > --
16 > Grant
17 >
18 >
19 >
20 >
21
22 vi?  How would I determine that?  My locale is C

Replies

Subject Author
Re: [gentoo-user] Re: python3 question Victor Ivanov <vic.m.ivanov@×××××.com>