[haiku-bugs] Re: [Haiku] #9696: Terminal - cal command show misaligned text

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Mon, 22 Apr 2013 17:48:47 -0000

#9696: Terminal - cal command show misaligned text
-------------------------------+---------------------------
   Reporter:  un_spacyar       |      Owner:  pulkomandy
       Type:  bug              |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Locale Kit  |    Version:  R1/alpha4.1
 Resolution:                   |   Keywords:  Terminal, cal
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  x86
-------------------------------+---------------------------

Comment (by siarzhuk):

 No idea what was the original locale, but Galego (Espana) - has the same
 issue.

 the last byte at days names line is 0xC3 that is 11000011. In UTF-8
 encoding it should be the first byte of the 2-bytes character - so the
 next CR is obviously eaten as parto of it. By the way the Terminal capture
 log show that lines are ended with CRLF that is also looking a bit
 suspicious. ;-)

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

Other related posts: