Recent

Author Topic: application from windows to lazarus  (Read 2856 times)

apofis

  • New member
  • *
  • Posts: 8
application from windows to lazarus
« 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

otorres

  • Jr. Member
  • **
  • Posts: 94
Re: application from windows to lazarus
« Reply #1 on: April 27, 2013, 04:06:42 am »
Try with UTF8String();

apofis

  • New member
  • *
  • Posts: 8
Re: application from windows to lazarus
« Reply #2 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