jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: UTF-8 and Regular Expressions


On 19.04.07, Romano Giannetti wrote:

> By the way, I discovered that in this same version, if you load
> "iso-latin1.sl" when in utf-8 mode, dabbrev stops working (it say
> something like "invalid utf-8 sequence" every time you call it). Just a
> note so that hapeless people like me can find it googling away...

This is due to the 8-bit characters in define_word(). It will affect every
function that uses get_word_chars().

Currently I have in my jed.rc

 !if (_slang_utf8_ok)
   () = evalfile("iso-latin.sl");           % iso-latin1 encoding

but I'd prefer if this escaping were done in the "iso-lat*.sl" files.

Guenter

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]