> I also tried FLTK 2.0 with cp1252_utf-8.txt, and it works like a
> charm. Even 0x98 (U+02DC, SMALL TILDE) is displayed and handled
> correctly (WRT cursor movement). No line length problems as in
> FLTK 1.3 - maybe we should have a look at FLTK 2's implementation?

Here at work I'm on a 64-bit CentOS 5.4 and I've just rebuilt both
FLTK-1.3.x-r7555 and FLTK-2.0.x-r7153. The "locale" command show:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=nl_NL
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=nl_NL
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

If I kick off the both test/editor to read misc/cp1252*.txt I get:

1.3: cp1252.txt:
     missing columns 128 onward, ie no 8-bit chars,
     and missing the right wall of the table too
     [I've switched workspaces and it has hung too]

1.3: cp1252_utf-8.txt:
     matches the cp1252.png, arrow keys appear to work

2.0: cp1252.txt:
     no characters shown in columns 128, 144, 160, 176 and top two
     characters of column 192 are not displayed. The characters that
     are shown in columns 192, 208, 224 and 240 are shifte left by
     0.5 or 1.0 columns (the right wall of the table is misaligned).
     The first 5 rows (NUL, SOH, STX, ETX and EOT) have an extra []
     character after the right wall of the table. Moving the cursor
     over the last 4 columns using left/right arrow causes the
     characters to disappear and reappear.

2.0: cp1252_utf-8.txt:
     matches the cp1252.png, arrow keys appear to work

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to