support for ESC % G
michal.svoboda at agents.felk.cvut.cz
Fri Apr 16 08:17:49 CEST 2010
Marc Lehmann wrote:
> > The sequence ESC % G is used in linux console (and maybe others) to
> > select the UTF8 charset, but seems to be unsupported by rxvt-unicode.
> Well, it's pretty non-standard, and not really sensible.
Can't it at least be ignored? Right now, I get a 'G' echoed to my screen
(but not the percent sign).
> It can't be done - urxvt is based on locales, and not all systems have utf-8
> locales, so there is no way to switch to an utf-8 locale in a defined way.
> urxvt already has a command sequence to switch locales, though, which can
> be used to switch into any locale you want (includign an utf-8 based one)
> (see urxvt(7)).
I can't make sense of what you're saying. Urxvt can somehow already
switch locales, but switching via ESC % can't be done?
> > be a no-op, since most unices run with UTF8 locale nowadays.
> wow, I think you are badly mistaken.
Okay, that's news, please enlighten me?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the rxvt-unicode