Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235324

Re: vim not seeing many Unicode chars

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: vim not seeing many Unicode chars
Date 2021-05-18 16:40 +0200
Message-ID <Cg934-4zI-9@gated-at.bofh.it> (permalink)
References <Cg8To-4wG-5@gated-at.bofh.it> <Cg934-4zI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 18, 2021 at 05:32:26PM +0300, IL Ka wrote:
> >
> >     LC_CTYPE="C"
> >
> > this may be a problem.
> 
> Try
> $ LC_CTYPE=en_US.UTF-8 vim $YOUR_FILE

That may not be enough.  The "C" being in quotes in the output of locale
for this variable means it's implicitly defined from another variable,
either LANG or LC_ALL.  In this case, it's coming from LC_ALL because
we saw LC_ALL=C without quotes.

So, overriding LC_ALL would work, but that's just fighting fire with fire,
which is not a long-term solution.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

vim not seeing many Unicode chars Tom Browder <tom.browder@gmail.com> - 2021-05-18 16:30 +0200
  Re: vim not seeing many Unicode chars IL Ka <kazakevichilya@gmail.com> - 2021-05-18 16:40 +0200
    Re: vim not seeing many Unicode chars Greg Wooledge <greg@wooledge.org> - 2021-05-18 16:40 +0200
  Re: vim not seeing many Unicode chars Greg Wooledge <greg@wooledge.org> - 2021-05-18 16:40 +0200
    Re: vim not seeing many Unicode chars Tom Browder <tom.browder@gmail.com> - 2021-05-20 14:20 +0200
  Re: vim not seeing many Unicode chars Tom Browder <tom.browder@gmail.com> - 2021-05-18 18:00 +0200
  Re: vim not seeing many Unicode chars Steve Dondley <s@dondley.com> - 2021-05-18 18:10 +0200

csiph-web