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


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

How do I fix this shell encoding issue?

From DFS <nospam@dfs.com>
Newsgroups comp.os.linux.advocacy
Subject How do I fix this shell encoding issue?
Date 2017-05-04 08:15 -0400
Organization A noiseless patient Spider
Message-ID <oefjvl$85d$1@dont-email.me> (permalink)

Show all headers | View raw


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

Back to comp.os.linux.advocacy | Previous | Next — 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