Re: [code] [textadept] Non-ASCII text entry in curses

From: Mitchell <m.att.foicica.com>
Date: Thu, 16 May 2013 15:05:27 -0400 (Eastern Daylight Time)

Chris,

On Thu, 16 May 2013, Chris Emerson wrote:

> Mitchell,
>
> On Thu, May 16, 2013 at 08:46:43AM -0400, Mitchell wrote:
>> On Sun, 12 May 2013, Chris Emerson wrote:
>>> I may be missing something, but I can't seem to enter a British pound sign in
>>> textadept-curses.
> [...]
>> I have never tested unicode input in the terminal version (mainly
>> because I don't know how to do it). I'll look into this when I get
>> the chance, but it is low priority. If you find anything, please let
>> me know. The place to look is around textadept.c:2357 and see which
>> key(s) end up being sent to `focused_view` on line 2371.
>
> Just had a quick look, and it looks to me like this part is ok - it sends in
> the correct code 163. The key arrives as a Unicode type from termkey and is
> passed straight through.

Thanks. Scinterm is not handling UTF-8 input properly. I will commit a fix
later today.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 16 May 2013 - 15:05:27 EDT

This archive was generated by hypermail 2.2.0 : Fri 17 May 2013 - 06:52:55 EDT