public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Victor Ivanov <vic.m.ivanov@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: python3 question
Date: Wed, 13 Jan 2021 20:22:05 +0000	[thread overview]
Message-ID: <72ef0536-8a6f-84a8-6858-9148ce45e904@gmail.com> (raw)
In-Reply-To: <42c97221-687e-ed0f-2c96-f6b54a0d35b2@web.de>


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

On 13/01/2021 20:06, n952162 wrote:
>> What encoding is your editor using?
> 
> vi?  How would I determine that?  My locale is C
> 

You could use:

   :set fenc

to display the current encoding used for the file, or

   :set fenc=utf8

to force UTF-8 or any other encoding of your chosing. You can also add a 
magic line with fenc to the file to always ensure that the specified 
encoding is used, assuming you also have magic lines enabled in vimrc.

- Victor


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-01-13 20:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 18:31 [gentoo-user] python3 question n952162
2021-01-13 18:57 ` n952162
2021-01-13 19:41   ` n952162
2021-01-13 19:43     ` [gentoo-user] python3 question [RESOLVED] n952162
2021-01-13 19:57     ` [gentoo-user] Re: python3 question Grant Edwards
2021-01-13 20:06       ` n952162
2021-01-13 20:22         ` Victor Ivanov [this message]
2021-01-13 21:31           ` n952162
2021-01-13 18:59 ` Grant Edwards
2021-01-13 19:09   ` n952162

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72ef0536-8a6f-84a8-6858-9148ce45e904@gmail.com \
    --to=vic.m.ivanov@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox