On 12/4/06, <b class="gmail_sendername">Robert Knight</b> <<a href="mailto:robertknight@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">robertknight@gmail.com</a>> wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you know the escape sequence used by other terminals for querying /<br>setting encoding or better, if there is any official 'standard'<br>sequence which is supported by at least one other terminal that could<br>be used for this?
<br>
</blockquote></div><br>
Hello Robert,<br>
urxvt has escape sequence to query and change urxvt's locale. <br>
However, it is different because it affects urxvt's locale *and* <br>
encoding of all urxvt tabs [1]. Urxvt's sequence seems to me<br>
urxvt-specific and not coming from any "standard". I did not find<br>
anything else.<br>
<br>
Yakov<br>
<br>
[1] urxvt reference has [2]:<br>
<br>
"ESC ] Ps;Pt ST"<br>
Ps = 701 Change current locale to Pt, or, <br>
if Pt is ?, return the current locale (Compile frills).<br>
# change the locale and tell rxvt-unicode about it<br>
export LC_CTYPE=ja_JP.EUC-JP; printf "\33]701;$LC_CTYPE\007"<br>
<br>
[2] 'man 7 urxvt' or <a href="http://www.penguin-soft.com/penguin/man/7/urxvt.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.penguin-soft.com/penguin/man/7/urxvt.html</a><br>
<br>