Lazarus

Programming => Operating Systems => Linux => Topic started by: apofis on April 26, 2013, 08:00:54 pm

Title: application from windows to lazarus
Post by: apofis on April 26, 2013, 08:00:54 pm
Hi!,

I have a application that work in windows very well. I exported to linux (without windows unit), and it works (compiled without problems).
But. i have some problem with

Code: [Select]
bruto:='$'+FloatToStrF( numero, ffcurrency, 8, 2 );
Don't display correctly that result, and, in console i get [
code]Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()[/code]

I don't know where change it.

If i begin a new application, i haven't that problem with that sentence.

any idea?

thanks
Title: Re: application from windows to lazarus
Post by: otorres on April 27, 2013, 04:06:42 am
Try with UTF8String();
Title: Re: application from windows to lazarus
Post by: apofis on April 29, 2013, 06:19:49 pm
Thanks!!

It doesn't work, but, the problem was lazreport. I don't know why, but i removed package lazreport and i use fortesreport.

By the way, the currency in MX, show '4,567.65 $'.

If i created new project, i get the same, '4,000.55 $',
TinyPortal © 2005-2018