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


Groups > comp.os.linux.advocacy > #413869

Re: How do I fix this shell encoding issue?

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: How do I fix this shell encoding issue?
Date 2017-05-08 17:19 +0000
Organization O.W.L.
Message-ID <azc903.aub@rooftop.invalid> (permalink)
References <oefjvl$85d$1@dont-email.me> <oeq4ia$e2t$1@dont-email.me> <zxcv8983.ag@rooftop.invalid> <oeq6mu$m9j$1@dont-email.me>

Show all headers | View raw


DFS <nospam@dfs.com> wrote:
> On 05/08/2017 12:11 PM, owl wrote:
>> DFS <nospam@dfs.com> wrote:
>>> On 05/04/2017 08:15 AM, DFS wrote:
>>>> I wrote a C program on Linux that did something to my locale setting.
>>>>
>>>> Now every time I start a bash shell it looks like this
>>>>
>>>> 崛㬰晤䁳慭橮牡㩯栯浯⽥晤ݳ嬛?㌻洲摛獦浀湡慪潲嬛?㌻洷縠嬛?㌻洲?嬛〰
>>>>
>>>> http://imgur.com/Wp1GwMIl.png
>>>>
>>>> and I have to go to Terminal | Set Encoding | Default UTF-8 to get back
>>>> the prompt in English.
>>>>
>>>> Where/how do I fix this?
>>>>
>>>> Thanks
>>>
>>>
>>> Bump
> 
> 
> 
>> Is it just in that one terminal app?
> 
> Yeah
> 
> 
>> What does PS1 look like in .bashrc?
> 
> There's no PS1 entry in .bashrc.
> 
> .extend.bashrc has a whole section related to PS1
> 
> 
>> Post the code for the program that is responsible.
> 
> If I could find that code I could probably fix this little issue.
> 

In Mate (gnome2), in dconf-editor, org->mate->terminal->global
has "active-encodings".  Clicking on "Set to Default"
changes the mate-terminal character-encoding options
to just "Current locale (UTF-8)" and  "Unicode (UTF-8)".
 

Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How do I fix this shell encoding issue? DFS <nospam@dfs.com> - 2017-05-04 08:15 -0400
  Re: How do I fix this shell encoding issue? Steve Carroll <fretwizzer@gmail.com> - 2017-05-04 09:23 -0700
  Re: How do I fix this shell encoding issue? DFS <nospam@dfs.com> - 2017-05-08 08:01 -0400
    Re: How do I fix this shell encoding issue? owl <owl@rooftop.invalid> - 2017-05-08 16:11 +0000
      Re: How do I fix this shell encoding issue? DFS <nospam@dfs.com> - 2017-05-08 08:37 -0400
        Re: How do I fix this shell encoding issue? owl <owl@rooftop.invalid> - 2017-05-08 17:19 +0000
          Re: How do I fix this shell encoding issue? DFS <nospam@dfs.com> - 2017-05-08 14:29 -0400
  Re: How do I fix this shell encoding issue? fr314159@gmail.com - 2017-05-08 09:10 -0700
    Re: How do I fix this shell encoding issue? DFS <nospam@dfs.com> - 2017-05-08 08:30 -0400
      Re: How do I fix this shell encoding issue? fr314159@gmail.com - 2017-05-08 09:59 -0700

csiph-web