Re[2]: [fpc-pascal] Case insensitive comparison of strings with non-ascii characters

2009-07-26 Thread theo
> lowercasemapping(a)=lowercasemapping(b) > > is the same as: > > IsSameText(a,b) > > is wrong at unicode levels. > > @JoshyFun It depends on what you excpect from such a function and with which sort of input data you have to deal. I wouldn't say it is wrong. It is not really accurate for all

Re: [fpc-pascal] Case insensitive comparison of strings with non-ascii characters

2009-07-26 Thread theo
> > They should, since the uppercase version of i is İ there (i.e., a > capital I with a dot on top). See e.g. > http://www.i18nguy.com/unicode/turkish-i18n.html > > Oh, Goodness. ;-) Thanks for the information. Regards Theo ___ fpc-pascal maillist

Re: [fpc-pascal] cross compilation for armv5 processor

2009-07-26 Thread Евгений
Евгений пишет: Hello, I need to compile my application for marvell processor 88F6281.(NAS QNAP TS-119) Cross compiler build succesfully by command: sudo make all install OS_TARGET=linux CPU_TARGET=arm BINUTILSPREFIX=/home/sem/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- NOGDB=

Re[3]: [fpc-pascal] Case insensitive comparison of strings with non-ascii characters

2009-07-26 Thread JoshyFun
Hello FPC-Pascal, Sunday, July 26, 2009, 9:43:06 AM, you wrote: t> In your strict sense, AnsiCompareText didn't work either. Yes, Ansi does not work fine also for some usual languages. But we are used to "simulate" a comparetext using lowercase(a)=lowercase(b) where the same character could have

Re[3]: [fpc-pascal] Case insensitive comparison of strings with non-ascii characters

2009-07-26 Thread JoshyFun
Hello FPC-Pascal, Sunday, July 26, 2009, 9:43:06 AM, you wrote: >> The code is not optimized but if somebody wants to use them please ask t> Yes please! I had uploaded the sources to zshare server with the link: http://www.zshare.net/download/63185150b6099e5d/ The code is not an example of how

[fpc-pascal] Environment Variables with Include Directive

2009-07-26 Thread Andrew Brunner
I've got a situation where I'm wanting to concatenate a path from the environment with a string to specify the path to the actual file to include when building. PATH_TO_DATA_INCLUDES = '/mnt/Source/Includes/Data/ {$i %PATH_TO_DATA_INCLUDES%+definitions.inc} Is there any way to get FPC to join th

Re: [fpc-pascal] Environment Variables with Include Directive

2009-07-26 Thread Jonas Maebe
On 26 Jul 2009, at 17:13, Andrew Brunner wrote: I've got a situation where I'm wanting to concatenate a path from the environment with a string to specify the path to the actual file to include when building. PATH_TO_DATA_INCLUDES = '/mnt/Source/Includes/Data/ {$i %PATH_TO_DATA_INCLUDES%+defi

Re: [fpc-pascal] Case insensitive comparison of strings with non-ascii characters

2009-07-26 Thread theo
I had uploaded the sources to zshare server with the link: Thanks, I'll have a look at it. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal