[fpc-devel] ThousandSeparator

Sven Barth pascaldragon at googlemail.com
Tue Nov 25 22:49:23 CET 2014


Am 25.11.2014 17:51 schrieb "Michael Van Canneyt" <michael at freepascal.org>:
>
>
>
> On Tue, 25 Nov 2014, Mattias Gaertner wrote:
>
>> Hi,
>>
>> The ThousandSeparator is "char" and supports only 1 byte characters.
>> For example French and Russian need more.
>> Are there any plans to extend it?
>
>
> Plans: yes. Time: no.
>
> Maybe a widechar is sufficient ? Making it a string is more invasive than
making it a widechar.

I wouldn't make it a string. The most sufficient one would be UCS4Char (4
Byte character) which would also support the non-BMP characters. But then
there is currently no encoding/conversion support in the compiler for
these... (UCS4String is simply declared as an array of UCS4Char in System)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20141125/cb260720/attachment.html>


More information about the fpc-devel mailing list