Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Tomas Hajny
On Wed, April 21, 2010 12:03, Graeme Geldenhuys wrote: > Tomas Hajny het geskryf: >> >> What do you mean by "messing with the -Fcutf8 parameter"? If you include >> some character constants outside the us-ascii set, you should always >> tell >> the compiler how to evaluate them, because the evaluati

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Graeme Geldenhuys
Tomas Hajny het geskryf: > > What do you mean by "messing with the -Fcutf8 parameter"? If you include > some character constants outside the us-ascii set, you should always tell > the compiler how to evaluate them, because the evaluation depends on the fpGUI uses UTF-8 internally on all platforms

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Mattias Gärtner
Zitat von Tomas Hajny : On Wed, April 21, 2010 10:47, ik wrote: Hi, If I want to use Unicode characters in my source code, but without actually typing in the Unicode character - I rather want to define it similar to ASCII chars or Hex values: eg: Char(65)or 'test'+#65+'me' or si

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread ik
http://ik.homelinux.org/ On Wed, Apr 21, 2010 at 12:46, Graeme Geldenhuys wrote: > ik het geskryf: > > > > You can also take a look at this old code of mine: > > http://ik.homelinux.org/projects/files/hebtoeng-0.1.tar.gz > > Florian fixed a bug in FPC due to this program regarding unicode :) > >

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Graeme Geldenhuys
ik het geskryf: > > You can also take a look at this old code of mine: > http://ik.homelinux.org/projects/files/hebtoeng-0.1.tar.gz > Florian fixed a bug in FPC due to this program regarding unicode :) I needed UTF-8 format to work with fpGUI, and the #xx format works perfectly, but I'll take a l

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Tomas Hajny
On Wed, April 21, 2010 10:47, ik wrote: Hi, >> If I want to use Unicode characters in my source code, but without >> actually >> typing in the Unicode character - I rather want to define it similar to >> ASCII chars or Hex values: >> eg: Char(65)or 'test'+#65+'me' >> or similar to w

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread ik
http://ik.homelinux.org/ On Wed, Apr 21, 2010 at 11:51, Graeme Geldenhuys wrote: > ik het geskryf: > > $#50D helps you ? :) > > > > You can also break it into two/four bytes like so : #404#500 > > > > Perfect, thank you. > You can also take a look at this old code of mine: http://ik.homelinux.o

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread Graeme Geldenhuys
ik het geskryf: > $#50D helps you ? :) > > You can also break it into two/four bytes like so : #404#500 Perfect, thank you. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _

Re: [fpc-pascal] Unicode characters in source code

2010-04-21 Thread ik
http://ik.homelinux.org/ On Wed, Apr 21, 2010 at 11:38, Graeme Geldenhuys wrote: > Hi, > > If I want to use Unicode characters in my source code, but without actually > typing in the Unicode character - I rather want to define it similar to > ASCII chars or Hex values: > eg: Char(65)or '