Hi,
Does FPC's RTL (or FCL) include a function to check for UTF-16 surrogate
pairs? I'd be very surprised if there isn't, but I have yet to find it
in the documentation or source code I searched.
I need to process one "character" (loosely based on what you see on the
screen) at a time while calcu
Hi,
This question really applies for all Unicode encodings (UTF-8, UTF-16
and UTF-32). In the modern world you simply can't use indexed access
into Object Pascal strings to retrieve a "character" (loosely what you
see on the screen - ignoring combining diacritics). In my own projects I
have custom
On Wed, 27 Apr 2016, Graeme Geldenhuys wrote:
Hi,
This question really applies for all Unicode encodings (UTF-8, UTF-16
and UTF-32). In the modern world you simply can't use indexed access
into Object Pascal strings to retrieve a "character" (loosely what you
see on the screen - ignoring comb
On 2016-04-27 15:59, Michael Van Canneyt wrote:
> Simply said: No. The character iterator
>
> Will iterate bytes or words, not characters.
OK thanks. So I definitely need the IsSurrogatePair() like function then
- in the case of UTF-16 encoded (UnicodeString) text. Do you know if
such a function
In our previous episode, Graeme Geldenhuys said:
> Does FPC's RTL (or FCL) include a function to check for UTF-16 surrogate
> pairs? I'd be very surprised if there isn't, but I have yet to find it
> in the documentation or source code I searched.
Same as Delphi, character.tcharacter.issurrogate()
On 2016-04-27 16:24, Marco van de Voort wrote:
> Same as Delphi, character.tcharacter.issurrogate() or
> character.issurrogate()
Ah, thank you very much.
Regards,
Graeme
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepa
Hi,
When I try to compile a test app, I get an error saying the output
folder (defined by FU) cannot be created by FPC. I suppose this
behaviour is ok? Is there a way to have FPC to create the requested
folder?
fpc -FU.\test mytest.pp
Error: Can't create object file: .\test\mytest.o (error code:
On 2016-04-27 20:39, Darius Blaszyk wrote:
> Is there a way to have FPC to create the requested
> folder?
I asked the same thing years back, and I was told that no, it's not the
job of the compiler, but rather the job of the build script or your IDE.
Regards,
Graeme
--
fpGUI Toolkit - a cros
On 27.04.2016 21:57, Graeme Geldenhuys wrote:
> On 2016-04-27 20:39, Darius Blaszyk wrote:
>> Is there a way to have FPC to create the requested
>> folder?
>
> I asked the same thing years back, and I was told that no, it's not the
> job of the compiler, but rather the job of the build script or
Michael,
Here is the patch to fix that on Windows:
http://bugs.freepascal.org/view.php?id=30073
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
10 matches
Mail list logo