From: | Victor Ivanov <vic.m.ivanov@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: python3 question | ||
Date: | Wed, 13 Jan 2021 20:22:29 | ||
Message-Id: | 72ef0536-8a6f-84a8-6858-9148ce45e904@gmail.com | ||
In Reply to: | Re: [gentoo-user] Re: python3 question by n952162 |
1 | On 13/01/2021 20:06, n952162 wrote: |
2 | >> What encoding is your editor using? |
3 | > |
4 | > vi? How would I determine that? My locale is C |
5 | > |
6 | |
7 | You could use: |
8 | |
9 | :set fenc |
10 | |
11 | to display the current encoding used for the file, or |
12 | |
13 | :set fenc=utf8 |
14 | |
15 | to force UTF-8 or any other encoding of your chosing. You can also add a |
16 | magic line with fenc to the file to always ensure that the specified |
17 | encoding is used, assuming you also have magic lines enabled in vimrc. |
18 | |
19 | - Victor |
File name | MIME type |
---|---|
OpenPGP_signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] Re: python3 question | n952162 <n952162@×××.de> |