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

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Wed, 10 Apr 2013 06:14:31 -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 siarzhuk):

 Replying to [comment:12 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.

 By the way, ICU has character detectors and we can profit from this by
 wrapping those features in the Local kit. This is what #9395 is about.
 Anyway STXTTranslator do some homebrew rudimentary assumption about
 encoding. So, IMO we have to push hands in the dirt sooner or later.

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

Other related posts: