Re: vim not seeing many Unicode chars

2021-05-20 Thread Tom Browder
On Tue, May 18, 2021 at 11:37 IL Ka wrote … Thanks! -Tom

Re: vim not seeing many Unicode chars

2021-05-20 Thread Tom Browder
On Tue, May 18, 2021 at 09:36 Greg Wooledge wrote: > On Tue, May 18, 2021 at 09:25:30AM -0500, … Thanks, Greg. -Tom

Re: vim not seeing many Unicode chars [SOLVED]

2021-05-18 Thread Tom Browder
On Tue, May 18, 2021 at 11:38 Steve Dondley wrote: > On 2021-05-18 12:23 PM, Tom Browder wrote: > > On Tue, May 18, 2021 at 11:08 Steve Dondley wrote: > >> On 2021-05-18 10:25 AM, Tom Browder wrote: >> >> I'm running Debian Buster. Inside a terminal window I can use Emacs and >> can see and

Re: vim not seeing many Unicode chars

2021-05-18 Thread deloptes
Eike Lantzsch ZP6CGE wrote: > To noboy in particular: > Yes, that is so and for whatever reasons there might be, it is extremely > confusing causing frustration, despair and eventually anger. > It is especially exasperating if one works with several DE which, > contrary to the underlying

Re: vim not seeing many Unicode chars

2021-05-18 Thread Eike Lantzsch ZP6CGE
On Dienstag, 18. Mai 2021 13:04:00 -04 hdv@gmail wrote: > On 2021-05-18 18:37, IL Ka wrote: > > Thanks all. I looked at my config files (which go back at least > > 15 > > years) and found lots of explicitly setting both LC_ALL=C and > > LC_LANG=C. > > > > Should I remove all,

Re: vim not seeing many Unicode chars

2021-05-18 Thread Greg Wooledge
On Tue, May 18, 2021 at 11:24:39AM -0500, Tom Browder wrote: > Thanks all. I looked at my config files (which go back at least 15 years) > and found lots of explicitly setting both LC_ALL=C and LC_LANG=C. > > Should I remove all, or just remove the LC_ALL? LC_LANG isn't even a variable that

Re: vim not seeing many Unicode chars

2021-05-18 Thread hdv@gmail
On 2021-05-18 18:37, IL Ka wrote: Thanks all. I looked at my config files (which go back at least 15 years) and found lots of explicitly setting both LC_ALL=C and LC_LANG=C. Should I remove all, or just remove the LC_ALL? > Using LC_ALL is strongly discouraged as it overrides

Re: vim not seeing many Unicode chars

2021-05-18 Thread Steve Dondley
On 2021-05-18 12:23 PM, Tom Browder wrote: > On Tue, May 18, 2021 at 11:08 Steve Dondley wrote: > > On 2021-05-18 10:25 AM, Tom Browder wrote: > > I'm running Debian Buster. Inside a terminal window I can use Emacs and can > see and enter Unicode chars. > > But in the same terminal, when

Re: vim not seeing many Unicode chars

2021-05-18 Thread IL Ka
> > > Thanks all. I looked at my config files (which go back at least 15 years) > and found lots of explicitly setting both LC_ALL=C and LC_LANG=C. > > Should I remove all, or just remove the LC_ALL? > > Using LC_ALL is strongly discouraged as it overrides everything. Please use it only when

Re: vim not seeing many Unicode chars

2021-05-18 Thread Tom Browder
On Tue, May 18, 2021 at 09:25 Tom Browder wrote: > I'm running Debian Buster. Inside a terminal window I can use Emacs and > can see and enter Unicode chars. > ... Thanks all. I looked at my config files (which go back at least 15 years) and found lots of explicitly setting both LC_ALL=C and

Re: vim not seeing many Unicode chars

2021-05-18 Thread Tom Browder
On Tue, May 18, 2021 at 11:08 Steve Dondley wrote: > On 2021-05-18 10:25 AM, Tom Browder wrote: > > I'm running Debian Buster. Inside a terminal window I can use Emacs and > can see and enter Unicode chars. > > But in the same terminal, when I run vim, I have trouble editing or seeing > most

Re: vim not seeing many Unicode chars

2021-05-18 Thread Steve Dondley
On 2021-05-18 10:25 AM, Tom Browder wrote: > I'm running Debian Buster. Inside a terminal window I can use Emacs and can > see and enter Unicode chars. > > But in the same terminal, when I run vim, I have trouble editing or seeing > most Unicode chars above ASCII. Type ":set fileencoding?"

Re: vim not seeing many Unicode chars

2021-05-18 Thread Tom Browder
On Tue, May 18, 2021 at 09:25 Tom Browder wrote: ... > I show the LANG env var set to 'en-US.UTF-8'. When I execute 'locale' I get: > > LANG=en-US.UTF-8 > Sorry, typo, should be: 'en_US.UTF-8' # underscore, not hyphen -Tom

Re: vim not seeing many Unicode chars

2021-05-18 Thread Greg Wooledge
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

Re: vim not seeing many Unicode chars

2021-05-18 Thread Greg Wooledge
On Tue, May 18, 2021 at 09:25:30AM -0500, Tom Browder wrote: > I show the LANG env var set to 'en-US.UTF-8'. When I execute 'locale' I get: > > LANG=en-US.UTF-8 > LANGUAGE= > LC_CTYPE="C" > # all intermediate keys: LC_X="C" > LC_ALL=C Somewhere, you have placed LC_ALL=C in

Re: vim not seeing many Unicode chars

2021-05-18 Thread IL Ka
> > LC_CTYPE="C" > > this may be a problem. Try $ LC_CTYPE=en_US.UTF-8 vim $YOUR_FILE make sure fileenconfig is utf-8 in vim: : set fileencoding=utf-8 More info about LC_ vars: https://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html >

vim not seeing many Unicode chars

2021-05-18 Thread Tom Browder
I'm running Debian Buster. Inside a terminal window I can use Emacs and can see and enter Unicode chars. But in the same terminal, when I run vim, I have trouble editing or seeing most Unicode chars above ASCII. I show the LANG env var set to 'en-US.UTF-8'. When I execute 'locale' I get: