jed-users mailing list

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

Re: some UTF8 problems, one fixed


G. Milde <milde@xxxxxxxxxxxxxxxxxxxxx> wrote:
> a) dabrev() does not work with words containing umlauts (or other 2-byte
>    chars) (Jörg reported this already).

I must have overlooked this problem.  Try using the latest snapshot
from the svn repository.

> b) quoted_insert() inserts just one byte
>    so M-x quoted-insert ² is inserted as Â� (where the last character is
>    illegal in utf8).

I do not regard this as a bug since the purpose of this function is to
allow bytes to be inserted into the buffer.  If you want to
quoted-insert a specific character code then prefix the call to
quoted_prefix using the character decimal code, e.g., 

   ESC 1 7 8 `
   
will cause a ² to be inserted, since its decimal code is 178.

> c) self_insert_cmd sometimes inserts an invalid (latin-1) char
>    (setkey(" <ch>", "<ch>"); works)

I am unable to reproduce this.  Do you have a specific example that
illustrates the problem.

> d) as soon as one 2-Byte character is defined (with setkey(),
>    definekey(), ...), most (all?) other characters that start with the
>    same byte in utf8 encoding loose their self-insert default behaviour.

That is the way the keymaps work--- they use byte-semantics.

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


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