[Lazarus] Fwd: UTF-8 Problem
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jun 5 16:02:55 CEST 2008
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
More information about the Lazarus
mailing list