[Lazarus] Fwd: UTF-8 Problem
Osvaldo Filho
arquivostcf at gmail.com
Thu Jun 5 17:11:00 CEST 2008
Please a bug is registered at: http://bugs.freepascal.org/view.php?id=11415
mq1 at ltspserver00:~/test-utf8$ gdb prj_utf8
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) break fpc_raiseexception
Breakpoint 1 at 0x80694d6
(gdb) run
Starting program: /home/mq1/test-utf8/prj_utf8
[Thread debugging using libthread_db enabled]
[New Thread 0xb73af720 (LWP 15380)]
(prj_utf8:15380): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()
(prj_utf8:15380): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()
Program exited normally.
(gdb) backtrace
No stack.
(gdb)
2008/6/5 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> On Thu, 5 Jun 2008 10:12:59 -0300
> "Osvaldo Filho" <arquivostcf at gmail.com> wrote:
>
> >[...]
> > WARNING: Macro not defined: "Target_OS".
>
> Use Find in Files and correct them to TargetOS. It is probably one of
> the installed packages.
>
>
> > TMainIDE.DoNewProject A
> >[...]
> > TMainIDE.DoLoadLFM A /home/eu/mq1/temp/teste/utf8.pas
> > IsPartOfProject=True QuickCheckLFMBuffer
> >[...]
> >
> > (lazarus:8738): Pango-WARNING **: Invalid UTF-8 string passed to
> > pango_layout_set_text()
>
> Your utf8.pas is not UTF-8.
> Can you post parts of it?
>
>
> >[...]
> > 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
>
> Hmm. Not much info. Try starting the IDE with gdb and create a
> backtrace:
> http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB
>
>
> >[...]
> > 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
> >
> > eu at deskx-mv:~$ locale
> >
> > LANG=pt_BR.UTF-8
> >[...]
>
> Mattias
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080605/713df612/attachment-0007.html>
More information about the Lazarus
mailing list