Re: [fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"

2014-12-03 Thread Michael Schnell
On 12/03/2014 05:02 AM, Hans-Peter Diettrich wrote: Michael Schnell schrieb: - It does not result in additional conversions. It does, e.g. in searching or sorting of StringList, when it can contain strings of different encodings. The choice of a unique encoding for application strings (maybe C

Re: [fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"

2014-12-03 Thread Michael Schnell
On 12/03/2014 10:42 AM, Michael Schnell wrote: That is why I tried to invent a concept BTW.: I can't help with the implementation, but I'll be happy to do testing and write documentation (e.g. in Wiki format). -Michael ___ fpc-devel maillist -

Re: [fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"

2014-12-03 Thread Michael Schnell
On 12/03/2014 12:52 AM, Hans-Peter Diettrich wrote: You forget that Jonas refers to *dynamic* string encodings, unknown at compile time. ??? In you other mail you pointed out that fpc (other than Delphi) does not provide *dynamic* string encoding with RawByteString (and where else would it

Re: [fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"

2014-12-03 Thread Michael Schnell
On 12/03/2014 12:52 AM, Hans-Peter Diettrich wrote: In Delphi *no* string can have an dynamic encoding of CP_NONE or CP_ACP, If you really do have "Dynamic" strings, obviously, the *definition* (i.e. CP_...) of such strings is strictly static (just for compiler use) and never cant be used as

[fpc-devel] $FPCTARGET macro and friends

2014-12-03 Thread waldo kitty
i'm trying to figure out the macros to have FP search for and output files in i386-win32 i386-os2 i386-linux and similar... i had thought that $FPCTARGETCPU-$FPCTARGETOS would work but apparently not... so, without hardcoding them, how can i have FP use the same directories that Lazarus

Re: [fpc-devel] $FPCTARGET macro and friends

2014-12-03 Thread Tomas Hajny
On 3 Dec 14, at 16:38, waldo kitty wrote: > i'm trying to figure out the macros to have FP search for and output files in > >i386-win32 >i386-os2 >i386-linux > > and similar... i had thought that $FPCTARGETCPU-$FPCTARGETOS would work but > apparently not... so, without hardcoding t

Re: [fpc-devel] $FPCTARGET macro and friends

2014-12-03 Thread waldo kitty
On 12/3/2014 6:04 PM, Tomas Hajny wrote: On 3 Dec 14, at 16:38, waldo kitty wrote: i'm trying to figure out the macros to have FP search for and output files in i386-win32 i386-os2 i386-linux and similar... i had thought that $FPCTARGETCPU-$FPCTARGETOS would work but apparently n