Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Michael Schnell
On 04/08/2013 07:02 PM, Mattias Gaertner wrote: I guess, you mean encoded string types. AFAIK, you can just create string variables of the appropriate coding type and an assignment will do auto-conversion. -Michael ___ fpc-devel maillist -

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Mattias Gaertner
On Tue, 09 Apr 2013 08:24:11 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/08/2013 07:02 PM, Mattias Gaertner wrote: I guess, you mean encoded string types. AFAIK, you can just create string variables of the appropriate coding type and an assignment will do auto-conversion. Yes.

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Michael Van Canneyt
On Tue, 9 Apr 2013, Mattias Gaertner wrote: On Tue, 09 Apr 2013 08:24:11 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/08/2013 07:02 PM, Mattias Gaertner wrote: I guess, you mean encoded string types. AFAIK, you can just create string variables of the appropriate coding type and

[fpc-devel] cairo.ppu

2013-04-09 Thread Mattias Gaertner
Hi, According to this bug report cairo.ppu is not installed on win64 fpc 2.6.3: http://bugs.freepascal.org/view.php?id=24215#c66862 I don't have Windows to test. Was there some revision that didn't install cairo.ppu? Mattias ___ fpc-devel maillist -

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Mattias Gaertner
On Tue, 9 Apr 2013 08:55:15 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 9 Apr 2013, Mattias Gaertner wrote: On Tue, 09 Apr 2013 08:24:11 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/08/2013 07:02 PM, Mattias Gaertner wrote: I guess, you mean

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Paul Ishenin
09.04.2013 15:13, Mattias Gaertner wrote: Will there be UTF-8 functions too or do you have to convert to UnicodeString? At the moment TCharacter contains methods which delphi TCharacter has. If there is demand we will add UTF8 overloads. Will there be PUnicodeChar functions too? //

Re: [fpc-devel] cairo.ppu

2013-04-09 Thread Florian Klämpfl
Am 09.04.2013 08:57, schrieb Mattias Gaertner: Hi, According to this bug report cairo.ppu is not installed on win64 fpc 2.6.3: http://bugs.freepascal.org/view.php?id=24215#c66862 I don't have Windows to test. Was there some revision that didn't install cairo.ppu? As far as I can see

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Michael Schnell
On 04/09/2013 08:49 AM, Mattias Gaertner wrote: But how do you examine the characters? Even defining what a character is, is extremely problematic with any use of Unicode. Regarding that a printable character can be assembled by multiple of the (nearly 2^32) Unicode codes, and a single

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Mattias Gaertner
Paul Ishenin i...@kmiac.ru hat am 9. April 2013 um 09:20 geschrieben: 09.04.2013 15:13, Mattias Gaertner wrote: Will there be UTF-8 functions too or do you have to convert to UnicodeString? At the moment TCharacter contains methods which delphi TCharacter has. If there is demand we

Re: [fpc-devel] cairo.ppu

2013-04-09 Thread Mattias Gaertner
Florian Klämpfl flor...@freepascal.org hat am 9. April 2013 um 09:35 geschrieben: [...] As far as I can see cairo for win64 was never packed with an fpc release. Even if it was, it is unlikely that it worked before r24211. Thanks. Then we will change Lazarus to not use it there. Mattias

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Sven Barth
Am 09.04.2013 10:30, schrieb Mattias Gaertner: Paul Ishenin i...@kmiac.ru hat am 9. April 2013 um 09:20 geschrieben: 09.04.2013 15:13, Mattias Gaertner wrote: Will there be UTF-8 functions too or do you have to convert to UnicodeString? At the moment TCharacter contains methods which delphi

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Paul Ishenin
09.04.2013 17:10, Sven Barth пишет: Demand+=1 (1,8) Error: Illegal expression (1,9) Error: Illegal expression (1,9) Fatal: Syntax error, ; expected but ordinal const found (Sorry, had to be said :P ) Also, Patches variable seems to be equal to zero. And assigning Demand without assigning

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Mattias Gaertner
Paul Ishenin i...@kmiac.ru hat am 9. April 2013 um 11:23 geschrieben: 09.04.2013 17:10, Sven Barth пишет: Demand+=1 (1,8) Error: Illegal expression (1,9) Error: Illegal expression (1,9) Fatal: Syntax error, ; expected but ordinal const found (Sorry, had to be said :P ) Also,

Re: [fpc-devel] Lazarus issues on ARM Linux

2013-04-09 Thread Thaddy
On 8-4-2013 14:49, peter green wrote: Michel Catudal wrote: I am also having some issues with Lazarus, I am not sure if it is the right forum to talk about it. I had a previous version working fine on Rasphberry Pi. For some reason I can't get it to work on Mele A2000G. I have compiled it on

Re: [fpc-devel] Unit for handling UTF-8 strings

2013-04-09 Thread Paul Ishenin
09.04.2013 18:09, Mattias Gaertner пишет: Creating a patch is not hard. The lazutf8 already contains the code. But I have no idea how the the interface should look like. TCharacter is a Delphi class and Delphi does not have UTF-8 functions. Michael wrote that these functions are implicit, so