public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: n952162 <n952162@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: python3 question
Date: Wed, 13 Jan 2021 22:31:16 +0100	[thread overview]
Message-ID: <fb663e91-33f8-f1ce-01b9-f67c0ed04b50@web.de> (raw)
In-Reply-To: <72ef0536-8a6f-84a8-6858-9148ce45e904@gmail.com>

On 1/13/21 9:22 PM, Victor Ivanov wrote:
> 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
>

   fileencoding= 195,3         55%


I suspect that's really useful for languages other than latin1.



  reply	other threads:[~2021-01-13 21:31 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
2021-01-13 21:31           ` n952162 [this message]
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=fb663e91-33f8-f1ce-01b9-f67c0ed04b50@web.de \
    --to=n952162@web.de \
    --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