Oberon Community Platform Forum
November 20, 2019, 08:02:40 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: BUG in TextUtilities.BluebottleEncoder  (Read 4043 times)
BohdanT
Sr. Member
****
Posts: 271


Life is difficult, but fortunately is short!


WWW
« on: January 08, 2009, 11:07:41 PM »

When I try to keep the text with cyrillic in the BBT-format (*file in UTF-8 attached*), an error occurs:
Quote
[1] TRAP 7 PL 3 7  Index out of range WinAos Revision 1749 (02.12.2008)
 CS:=0000001B DS:=00000023 ES:=00000023 SS:=00000023 PC=01A19468 ESI=01A13759 EDI=04DE1460 ESP=0393F3D0 PID=000010DC
 EAX=00000001 EBX=00008201 ECX=04DE3FE0 EDX=00000009 EBP=0393F3F4 FS:=0000003B GS:=00000000 TMR=178BFCBB
 FLAGS: cPaZstIdo iopl0 {1..2, 6, 9}
Process: 4316 run 0 2049AA8F0:WMMessages.MsgSequencer WMMessages.MsgSequencer.Get pc=1730 [000006C2H] {0, 28}
TextUtilities.BluebottleEncoder.WriteText pc=23000 [000059D8H]
  text=027303F0H (Texts.UnicodeText)  res=1 (00000001H)  @Self=04DE1350H (TextUtilities.BluebottleEncoder)
  buf=04DE3FE0H (UNKNOWN)  rbuf=""5A"  str=""!  counter=8 (00000008H)  i=2 (00000002H)
  j=1 (00000001H)
State TextUtilities:
  @Self=01A12830H (Modules.Module)  unicodePropertyReader=00000000H (NIL)
PET.Window.Store pc=38977 [00009841H]
  filename="F:/test/WinAos/Work/TestCyr.Mod"...  format="BBT"...  @Self=04A9CD30H (PET.Window)
  text=027303F0H (Texts.UnicodeText)  res=1 (00000001H)  msg=""...  backName="F:/test/WinAos/Work/TestCyr.Mod.Bak"...
  fullname="F:/test/WinAos/Work/TestCyr.Mod"...  path=""...  name=""...
  backExt=""  t=""  ext=""  options=""...  encoder=04DE1350H (TextUtilities.BluebottleEncoder)
  w=04DE2E50H (Files.Writer)  i=0  file=04DE1670H (WinFS.File)
PET.Window.StoreHandler pc=37867 [000093EBH]
  sender=04A63890H (WMStandardComponents.Button)  data=00000000H (NIL)  @Self=04A9CD30H (PET.Window)
  filename="F:/test/WinAos/Work/TestCyr.Mod"...
WMEvents.EventSource.Call pc=809 [00000329H]
  par=00000000H (NIL)  @Self=04A3AEB0H (WMEvents.EventSource)  cur=016BA6BCH (WMEvents.EventListenerLink)
WMStandardComponents.Button.Click pc=15778 [00003DA2H]
  sender=04A63890H (WMStandardComponents.Button)  par=00000000H (NIL)  @Self=04A63890H (WMStandardComponents.Button)

* TestCyr.Mod (0.01 KB - downloaded 399 times.)
Logged
staubesv
Administrator
Sr. Member
*****
Posts: 387



« Reply #1 on: January 09, 2009, 01:07:56 PM »

Fixed in revision 1863. Thanks for reporting!

Note: It seems that the fix provided by tfrey was lost two years ago (see https://lists.inf.ethz.ch/pipermail/oberon/2006/005127.html, thanks andre for the link)
Logged
BohdanT
Sr. Member
****
Posts: 271


Life is difficult, but fortunately is short!


WWW
« Reply #2 on: January 09, 2009, 01:50:48 PM »

Thanks !
Quote
was lost two years ago
Shocked
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!