jed-users mailing list

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

Re: skip_non_word_chars failing in UTF-8 mode


SANGOI DINO <SANGOID@xxxxxxxxxxxxxxxxx> wrote:
>I was working with Jed B0.99-17.95 and SLang 2.0.0 on Linux, when I got an
>"Invalid UTF-8 encoded string" running a script. After a bit of debugging, I
>found it was on skip_non_word_chars(). Debuging a bit of C code I found that
>in UTF-8 mode it doesn't like the define_word() call full of invalid UTF-8
>characters.

I also came across this bug last week.  My fix was to modify main.c
and remove the define_word code from site.sl.

Thanks,
--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>.


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