[haiku-bugs] Re: [Haiku] #6447: StyledEdit doesn't check for valid utf-8

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Tue, 09 Apr 2013 20:45:38 -0000

#6447: StyledEdit doesn't check for valid utf-8
---------------------------------------+------------------------------
   Reporter:  zooey                    |      Owner:  siarzhuk
       Type:  bug                      |     Status:  assigned
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/StyledEdit  |    Version:  R1/alpha2
 Resolution:                           |   Keywords:
 Blocked By:  9395                     |   Blocking:  3065, 6252, 7954
Has a Patch:  0                        |   Platform:  All
---------------------------------------+------------------------------

Comment (by axeld):

 Haiku always uses UTF-8 by default. Guessing the character encoding is
 pretty hard to do for most encodings, and usually requires a lot of work.
 Granted, you can easily find out if something is not UTF-8, but that
 doesn't get you that far.

 For RTF, the case is different, though, as it contains the character
 encoding. So if an RTF is shown with the wrong encoding, it's a bug in the
 translator.

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

Other related posts: