[haiku-bugs] Re: [Haiku] #2334: [StyledEdit] problems editing special chars

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Wed, 11 Aug 2010 13:29:28 -0000

#2334: [StyledEdit] problems editing special chars
--------------------------------------+-------------------------------------
  Reporter:  diver                    |         Owner:  zooey         
      Type:  bug                      |        Status:  in-progress   
  Priority:  normal                   |     Milestone:  R1            
 Component:  Applications/StyledEdit  |       Version:  R1/Development
Resolution:                           |      Keywords:                
Blocked By:                           |   Has a Patch:  0             
  Platform:  All                      |      Blocking:                
--------------------------------------+-------------------------------------
Changes (by zooey):

  * owner:  korli => zooey
  * status:  new => in-progress


Comment:

 Unfortunately, the original bugreport doesn't mention *how* the file was
 opened with StyledEdit. As it does not contain utf-8 characters,
 StyledEdit will display garbage. Editing near the garbage characters will
 indeed confuse BTextView (at least I now know how to reproduce the bug).

 If you convert the file from its original EUC-JP encoding to utf-8 (e.g.
 in Pe) and then copy & paste the contents into StyledEdit, things will be
 better, but there are still caret positioning problems.

 Trying to figure this one out ...

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

Other related posts: