- Subject: Re: some UTF8 problems, one fixed
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Tue, 3 Jun 2008 15:17:05 +0000 (UTC)
Hallo John,
"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> 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.
It doesn't solve the problem.
Insert the word vorübergehend in a buffer and insert the string vorüb and
press ESC-/. I get vorübbergehend with two B.
% JED_ROOT=$PWD ./src/objs/xjed -n -f 'define cat_buf() { push_spot(); bob(); push_mark(); eob(); fprintf(stderr, "---\n%s\n", bufsubstr()); pop_spot(); }' -f 'text_mode(); insert("vorübergehend"); cat_buf; insert("\nvor"); dabbrev; cat_buf; insert("\nvorüb"); dabbrev; cat_buf; exit_jed'
---
vorübergehend
---
vorübergehend
vorübergehend
---
vorübergehend
vorübergehend
vorübüb
% JED_ROOT=$PWD ./src/objs/xjed -n -f 'define cat_buf() { push_spot(); bob(); push_mark(); eob(); fprintf(stderr, "---\n%s\n", bufsubstr()); pop_spot(); }' -f 'text_mode(); insert("vorübergehend"); cat_buf; insert("\nvor"); dabbrev; cat_buf; insert("\nvorüb"); buffer_keystring("\e/\eXcat_buf;exit_jed\n")'
---
vorübergehend
---
vorübergehend
vorübergehend
---
vorübergehend
vorüberge
Bye, Jörg.
--
MCSE = Minesweeper Consultant & Solitaire Expert
--------------------------
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]