- Subject: Re: Problem with ` character, needs two presses
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Tue, 9 Sep 2008 11:51:45 -0400
G. Milde <milde@xxxxxxxxxxxxxxxxxxxxx> wrote:
> if (_slang_utf8_ok)
> setkey("quoted_insert", "°");
> else
> setkey("quoted_insert", "\d176");
I think that you can simplify this using:
setkey ("quoted_insert", "\x{B0}");
In non-UTF-8 mode, \x{B0} will expand to the byte 0xB0, but in UTF-8
mode, \x{B0} will expand to the UTF-8 encoding of the character U+B0.
Note that \x{B0} and \xB0 are not the same in UTF-8 mode.
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2008 date index]
[2008 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]