to be sure.
Panagiotis
-Original Message-
From: Jesus Reyes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 8:30 AM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
- Original Message -
From: Mattias Gaertner [EMAIL PROTECTED
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
On Tue, 28 Feb 2006 09:57:09 +0200
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:
so if there is something wrong with the sample I thought it should
be gtk2 and the only problem I found was the position returned
Lazarus and FPC, just to be sure.
Panagiotis
-Original Message-
From: Jesus Reyes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 8:30 AM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
- Original Message -
From: Mattias
@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
On Tue, 28 Feb 2006 09:57:09 +0200
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:
so if there is something wrong with the sample I thought it should
be gtk2 and the only problem I found was the position returned
on non latin text
- Original Message -
From: Mattias Gaertner [EMAIL PROTECTED]
To: lazarus@miraclec.com
Sent: Monday, February 27, 2006 2:45 PM
Subject: Re: [lazarus] String functions on non latin text
On Mon, 27 Feb 2006 13:41:13 -0600 (CST)
Jesus
] String functions on non latin text
- Original Message -
From: Mattias Gaertner [EMAIL PROTECTED]
To: lazarus@miraclec.com
Sent: Monday, February 27, 2006 2:45 PM
Subject: Re: [lazarus] String functions on non latin text
On Mon, 27 Feb 2006 13:41:13 -0600
Functions such as POS() and COPY(), return strange result when used with
utf8 text.
Forr example, if your try
pos( 'κ',
'άέύίόήώϊϋΐΰαβγδεζηθικλμνξοπρσςτυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣςΤΥΦΧΨΩΆΈΎΊΌΉΏΪΫ-' ) you
will get 1, which is incorrect.
I know this has to do with utf encoding (2 or more bytes per
] String functions on non latin text
On Mon, 27 Feb 2006 15:17:41 +0200
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:
Functions such as POS() and COPY(), return strange result when used
with utf8 text.
Forr example, if your try
pos
Message-
From: Mattias Gaertner [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 1:27 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
On Mon, 27 Feb 2006 15:17:41 +0200
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:
Functions
Please download sample project at:
- www.magentadb.gr/ftp/pos-sample.zip
Panagiotis
-Original Message-
From: Mattias Gaertner [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 3:10 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
On Mon
Gaertner [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 3:10 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
On Mon, 27 Feb 2006 15:03:17 +0200
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:
Unfortunatelly, even after checking syntax
--- Panagiotis Sidiropoulos [EMAIL PROTECTED] escribió:
Please download sample project at:
- www.magentadb.gr/ftp/pos-sample.zip
Panagiotis
result := Pos(UTF8Decode(SubStr), UTF8Decode(Str));
seems to work, I think Pos(UTF8String,UTF8String) is yet to be
implemented.
Jesus Reyes A.
On Mon, 27 Feb 2006 13:41:13 -0600 (CST)
Jesus Reyes [EMAIL PROTECTED] wrote:
--- Panagiotis Sidiropoulos [EMAIL PROTECTED] escribió:
Please download sample project at:
- www.magentadb.gr/ftp/pos-sample.zip
Panagiotis
result := Pos(UTF8Decode(SubStr), UTF8Decode(Str));
- Original Message -
From: Mattias Gaertner [EMAIL PROTECTED]
To: lazarus@miraclec.com
Sent: Monday, February 27, 2006 2:45 PM
Subject: Re: [lazarus] String functions on non latin text
On Mon, 27 Feb 2006 13:41:13 -0600 (CST)
Jesus Reyes [EMAIL PROTECTED] wrote
: Jesus Reyes [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 9:41 PM
To: lazarus@miraclec.com
Subject: RE: [lazarus] String functions on non latin text
--- Panagiotis Sidiropoulos [EMAIL PROTECTED] escribió:
Please download sample project at:
- www.magentadb.gr/ftp/pos-sample.zip
Panagiotis Sidiropoulos wrote:
It returns 41. Seems to be correct.
I'm using fpc 2.0.2.
Greek k suggested when sample project I up, is in position 21 in the
string, not 41.
When using sample project, I get following relults while search for each
character in String to search in edit box:
-
: Mattias Gaertner [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 10:46 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
On Mon, 27 Feb 2006 13:41:13 -0600 (CST)
Jesus Reyes [EMAIL PROTECTED] wrote:
--- Panagiotis Sidiropoulos [EMAIL PROTECTED
:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 8:30 AM
To: lazarus@miraclec.com
Subject: Re: [lazarus] String functions on non latin text
- Original Message -
From: Mattias Gaertner [EMAIL PROTECTED]
To: lazarus@miraclec.com
Sent: Monday, February 27, 2006 2:45 PM
Subject: Re: [lazarus
18 matches
Mail list logo