[fpc-pascal] Unicode characters in source code
idokan at gmail.com
Wed Apr 21 10:47:56 CEST 2010
On Wed, Apr 21, 2010 at 11:38, Graeme Geldenhuys <graemeg.lists at gmail.com>wrote:
> 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 what hex values are defined with a dollar prefix: $30
> Any idea how I can do this? I don't want to mess with the -Fcutf8 compiler
> parameter if I can avoid it. I also want the ability of the source code to
> be edited by a editor that might not support Unicode (more precisely
$#50D helps you ? :)
You can also break it into two/four bytes like so : #404#500
> Is this possible?
> - Graeme -
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal