Re: [fpc-pascal] FastCGI on Windows IIS

2016-04-27 Thread Marcos Douglas
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

Re: [fpc-pascal] FPC create unit path

2016-04-27 Thread Sven Barth
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

Re: [fpc-pascal] FPC create unit path

2016-04-27 Thread Graeme Geldenhuys
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

[fpc-pascal] FPC create unit path

2016-04-27 Thread Darius Blaszyk
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:

Re: [fpc-pascal] UnicodeString and surrogate pairs

2016-04-27 Thread Graeme Geldenhuys
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

Re: [fpc-pascal] UnicodeString and surrogate pairs

2016-04-27 Thread Marco van de Voort
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()

Re: [fpc-pascal] Iterator for Unicode encoded strings

2016-04-27 Thread Graeme Geldenhuys
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

Re: [fpc-pascal] Iterator for Unicode encoded strings

2016-04-27 Thread Michael Van Canneyt
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

[fpc-pascal] Iterator for Unicode encoded strings

2016-04-27 Thread Graeme Geldenhuys
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

[fpc-pascal] UnicodeString and surrogate pairs

2016-04-27 Thread Graeme Geldenhuys
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