How to restore a normal charset?

Extracted from debian-user
Tip provided by Carl Johnson
> I've been experiencing a weird and recuring problem
> in my debian system:
> When a program fails to read a data file for example,
> or somhow abnormally exits, the terminal starts to
> use some weird charset, and becomes unreadable. That,
> of course, affects only one terminal or xterm.
>
> My question is: How do I restore normal charset at
> (I guess stdout) ?
 
Others have already mentioned reset, but I have a simpler method.  I
have a '^O' (control-O) at the beginning of my prompt ($PS1).  This
automatically changes the charset back as soon as my prompt starts to
print.

Follow-up :
| Previous | Next | Index of category | Main Index | Submit |


Appears in section(s) : screen
Tip recorded : 29-11-1998 20:12:22
HTML page last changed : 27-07-1999 20:12:43