[fpc-pascal] string comparison with strcomp

2005-04-09 Thread Marc Santhoff
Hi, I'm stuck with some sort of nasty problem: While doing internationalization in a program planned only for german users I started to use the gettext mechanism to translate any descriptive GUI string. The mean part is that my original strings (now used as resourcestrings) do not work if they ha

Re: [fpc-pascal] string comparison with strcomp

2005-04-09 Thread John Coppens
Hallo Marc, I reported this a long time ago, and got an answer like: gettext doesn't accept source strings in UTF-8. The easiest way to solve it is to write the program in English (with english on buttons, etc) and then write a po file for german. I know, I know, not elegant or easy, but it works.

[fpc-pascal] Basic routines

2005-04-09 Thread Marcel Martin
Hello, While writing the "pure Pascal" version of a big integer library (for FPC 2.0), I notice that the use of a very small assembler function lowers the average running time of the computations by about 30-35%. This is far from insignificant. Currently I use a macro to enable the x86 (32 bits) pr

Re: [fpc-pascal] string comparison with strcomp

2005-04-09 Thread Marc Santhoff
Am So, den 10.04.2005 schrieb John Coppens um 00:05: > Hallo Marc, Hi John, > I reported this a long time ago, and got an answer like: gettext doesn't > accept source strings in UTF-8. Ah, I see. This inspired me to do some further tests and I found a solution that is more acceptable than doing