Bookstore

Recent

Author Topic: windows mobile and wince fonts  (Read 16252 times)

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: windows mobile and wince fonts
« Reply #15 on: December 12, 2010, 10:05:17 am »
Lazarus uses only UTF-8. If you are using something different, then you need to convert. The conversion can be done before putting it to the Lazarus controls, there are tons of conversions routines in the unit lconvencoding in the LCL. Check there are use the correct conversion routine. It should be called SomethingToUTF8 where Something should match the encoding in the file.

zariq

  • Full Member
  • ***
  • Posts: 109
Re: windows mobile and wince fonts
« Reply #16 on: December 12, 2010, 04:54:45 pm »
Works when converted with CP1252ToUTF8 and CP1254ToUTF8
functions.

Thanks Felipe and Zaher for your help.