On 2014-11-22 16:38, Michael Van Canneyt wrote:
> The exact behaviour of the RTL is controlled by a couple of variables:
> DefaultSystemCodePage, DefaultFileSystemCodePage , 
> DefaultRTLFileSystemCodePage.

I've read the updated wiki page, but still confused about something...

  TFormatSettings = record
    CurrencyFormat: Byte;
    NegCurrFormat: Byte;
    ThousandSeparator: Char;
    DecimalSeparator: Char;
    ...snip...


How is ThousandSeparator and DecimalSeparator supposed to work it
TFormatSettings? If you switched the RTL to UTF-8 or UTF-16 a Russian
thousand separator (4-byte non-breaking white space character) for
example will not fit into a Char type.

I haven't read this whole thread yet, and haven't played with the latest
FPC 2.7.1 yet - so maybe I'm just missing some key information for now.

Or is TFormatSettings just something that hasn't yet been converted to
be Unicode friendly?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to