#236 %a/%A work on bytes not chars (Multibyte chars)

closed
nobody
5
2008-10-31
2008-10-31
Jari Aalto
No

Cf. Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443181

Please let me know if this has been fixed in later version.

=======================================

Package: joe
Version: 3.5-1.1
Severity: normal

%a and %A fields in the status bar (-lmsf, -rmsg) show only the first byte
of any multibyte character (UTF-8, legacy Chinese/etc charsets, ...). This
is useless, as there is no way to see the rest -- and you're not really
supposed to be able to edit part of a character anyway.

Thus, please show the decoded value instead, eg "2592" for "▒" instead of
"E2" (the first byte of "E2 96 92"). As it's possible for the number to go
up to 0x10FFFF, I would display BMP ones as U+1234, eating into "U+" in the
rare upper planes.

Discussion

  • Joe Allen
    Joe Allen
    2008-10-31

    This is now fixed in CVS (for JOE 3.7).

     
  • Joe Allen
    Joe Allen
    2008-10-31

    • status: open --> closed