[haiku-bugs] Re: [Haiku] #6276: Console backspace doesn't properly handle non-ascii unicode

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 15 Jul 2011 17:42:40 -0000

#6276: Console backspace doesn't properly handle non-ascii unicode
----------------------------+------------------------------------
   Reporter:  Adek336       |      Owner:  zooey
       Type:  bug           |     Status:  assigned
   Priority:  normal        |  Milestone:  R1
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:  terminal bash readline
 Blocked By:                |   Blocking:  5775, 6094, 6836, 7244
Has a Patch:  0             |   Platform:  All
----------------------------+------------------------------------

Comment (by pulkomandy):

 Is setting both MB_LEN_MAX and MB_CUR_MAX to 6 a correct fix (seems to be
 the value needed for utf-8) ? Or is there something more involved ?

 MB_LEN_MAX must be a constant so we should use 6 for it, MB_CUR_MAX may be
 variable depending on the current locale but I'm not sure that's of any
 use.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6276#comment:14>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: