from terminal with command startlazarus: ====================== [EMAIL PROTECTED]:~/mq1/programas/pascal/lazarus$ ./startlazarus TLazarusManager.Run starting /home/eu/mq1/programas/pascal/lazarus/lazarus ... TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 TMainIDE.ParseCmdLineOptions: PrimaryConfigPath="/home/eu/.lazarus" SecondaryConfigPath="/etc/lazarus" NOTE: codetools config file not found - using defaults NOTE: help options config file not found - using defaults WARNING: Macro not defined: "Target_OS". TMainIDE.DoNewProject A WARNING: Macro not defined: "Target_OS". [TCustomFormEditor.CreateComponent] Class='TForm' TMainIDE.DoNewEditorFile end unit1.pas [TCustomFormEditor.CreateComponent] Class='TEdit' Parent is 'Form1:TForm1' TMainIDE.OnPropHookPersistentAdded A Edit1:TEdit WARNING: Macro not defined: "Target_OS". TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas StdCtrls [TEventsCodeTool.CompleteComponent] CurComponent=Edit1:TEdit TCustomFormEditor.WriterFindAncestor Component=Form1:TForm1 Ancestor=nil TCustomFormEditor.WriterFindAncestor Component=Form1:TForm1 Ancestor=nil WARNING: Macro not defined: "Target_OS". WARNING: Macro not defined: "Target_OS". TMainIDE.DoLoadLFM A /home/eu/mq1/temp/teste/utf8.pas IsPartOfProject=True QuickCheckLFMBuffer LFMBuffer=/home/eu/mq1/temp/teste/utf8.lfm TJITComponentList.AddJITComponentFromStream.ReadStream Reading: FCurReadJITComponent=:TForm1 StreamClass=TForm1 TCustomFormEditor.JITListFindClass Searched=TEdit Found=TEdit
(lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() TMainIDE.OnDesignerViewLFM /home/eu/mq1/temp/teste/utf8.pas TMainIDE.DoLoadLFM A /home/eu/mq1/temp/teste/utf8.pas IsPartOfProject=True QuickCheckLFMBuffer LFMBuffer=/home/eu/mq1/temp/teste/utf8.lfm TJITComponentList.AddJITComponentFromStream.ReadStream Reading: FCurReadJITComponent=:TForm1 StreamClass=TForm1 TCustomFormEditor.JITListFindClass Searched=TEdit Found=TEdit (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() TCustomFormEditor.WriterFindAncestor Component=Form1:TForm1 Ancestor=nil TCustomFormEditor.WriterFindAncestor Component=Form1:TForm1 Ancestor=nil TMainIDE.DoLoadLFM A /home/eu/mq1/temp/teste/utf8.pas IsPartOfProject=True QuickCheckLFMBuffer LFMBuffer=/home/eu/mq1/temp/teste/utf8.lfm TJITComponentList.AddJITComponentFromStream.ReadStream Reading: FCurReadJITComponent=:TForm1 StreamClass=TForm1 TCustomFormEditor.JITListFindClass Searched=TEdit Found=TEdit TMainIDE.OnDesignerViewLFM /home/eu/mq1/temp/teste/utf8.pas (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() TApplication.HandleException Access violation Stack trace: $08068BA9 $B7A0C081 $B7A0DBF8 $B7A10E5E $B7A113AC $B7C8E063 $0821867F TGTKWIDGETSET__APPPROCESSMESSAGES, line 1162 of /home/eu/mq1/programas/pascal/lazarus/lcl/interfaces/gtk/gtkwidgetset.inc $08080259 TAPPLICATION__HANDLEMESSAGE, line 975 of ./include/application.inc $0808058F TAPPLICATION__RUNLOOP, line 1086 of ./include/application.inc $080C4723 TWIDGETSET__APPRUN, line 49 of ./include/interfacebase.inc $0808054A TAPPLICATION__RUN, line 1073 of ./include/application.inc $0805C072 main, line 99 of lazarus.pp (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() LAZARUS END - cleaning up ... [TMainIDE.Destroy] A [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END [EMAIL PROTECTED]:~/mq1/programas/pascal/lazarus$ ============================================== ---------- Forwarded message ---------- From: Osvaldo Filho <[EMAIL PROTECTED]> Date: 2008/6/4 Subject: UTF-8 Problem To: [EMAIL PROTECTED] UTF-8 Problem I change text on edit1.text, save form, close all, restart Lazarus, when i open form it change the content of text edit. Lazarus svn gtk2 Freepascal 2.2.3 (svn fixes) Ubuntu Hardy Heron (8.04) LOCALE [EMAIL PROTECTED]:~$ locale LANG=pt_BR.UTF-8 LC_CTYPE="pt_BR.UTF-8" LC_NUMERIC="pt_BR.UTF-8" LC_TIME="pt_BR.UTF-8" LC_COLLATE="pt_BR.UTF-8" LC_MONETARY="pt_BR.UTF-8" LC_MESSAGES="pt_BR.UTF-8" LC_PAPER="pt_BR.UTF-8" LC_NAME="pt_BR.UTF-8" LC_ADDRESS="pt_BR.UTF-8" LC_TELEPHONE="pt_BR.UTF-8" LC_MEASUREMENT="pt_BR.UTF-8" LC_IDENTIFICATION="pt_BR.UTF-8" LC_ALL= [EMAIL PROTECTED]:~$
_______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus