On Fri, 25 Mar 2016, Graeme Geldenhuys wrote:
On 2016-03-25 12:23, Michael Van Canneyt wrote:
Correction, this particular function does not depend on cwstrings.
When you say "this particular function" you are referring to the
UTF8Decode() function correct?
The documentation page for UTF8De
On 2016-03-25 12:23, Michael Van Canneyt wrote:
> Correction, this particular function does not depend on cwstrings.
When you say "this particular function" you are referring to the
UTF8Decode() function correct?
The documentation page for UTF8Decode has explicitly removed the
reference [that it
On Fri, Mar 25, 2016 at 7:14 PM, Bart wrote:
> It's just a define to signal that all strings in LCL are UTF8 and when
> offered to RTL their codepage is CP_UTF8.
Not only in LCL. Package LazUtils / unit LazUTF8 can be used also without LCL.
http://wiki.freepascal.org/Better_Unicode_Support_in_
On 3/25/16, Felipe Monteiro de Carvalho
wrote:
> Important part you are forgetting: {$IFDEF UTF8_RTL}
>
> I don't know why it is needed in the utf-8 RTL, since I haven't used
> this RTL yet, but in the RTL that I am using it doesn't depend in that
> unit :)
It's just a define to signal that all
On Fri, Mar 25, 2016 at 3:16 PM, Michael Van Canneyt
wrote:
> "lazutf8 doesn't depending" when it is in the uses clause, sounds a bit
> strange to me :-)
Important part you are forgetting: {$IFDEF UTF8_RTL}
I don't know why it is needed in the utf-8 RTL, since I haven't used
this RTL yet, but in
On Friday 25 March 2016 15:37:36 Graeme Geldenhuys wrote:
> On 2016-03-25 14:06, Martin Schreiber wrote:
> > You can use the MSEgui functions in lib/common/msestrings.pas
>
> Thanks, but doesn't MSEgui also use cwstrings?
>
Not for utf-8 <-> utf-16 conversion. The MSEgui version of cwstring also ma
On 2016-03-25 14:06, Martin Schreiber wrote:
> You can use the MSEgui functions in lib/common/msestrings.pas
Thanks, but doesn't MSEgui also use cwstrings?
Regards,
- Graeme -
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.f
On Fri, 25 Mar 2016, Felipe Monteiro de Carvalho wrote:
On Fri, Mar 25, 2016 at 2:01 PM, Michael Van Canneyt
wrote:
Look at the sources
Which proves me right, or do I miss something?
"lazutf8 doesn't depending" when it is in the uses clause,
sounds a bit strange to me :-)
Michael.
___
In our previous episode, Graeme Geldenhuys said:
> >> > Yes, this is correct.
> > Correction, this particular function does not depend on cwstrings.
> > All the other widestring (uppercase, compare etc) functions do.
>
> Ok, thanks for that.
> Is there an easy way to see when a RTL function requ
On Friday 25 March 2016 14:48:18 Graeme Geldenhuys wrote:
> On 2016-03-25 12:20, Bart wrote:
> > If you're using LazUtf8 (or use LCL) then cwstring will be used in your
> > app.
>
> I don't use LCL at all, pure RTL & FCL code only. Based on the fact that
> LCL's code also requires "cwstrings" I ass
On 2016-03-25 12:23, Michael Van Canneyt wrote:
>> > Yes, this is correct.
> Correction, this particular function does not depend on cwstrings.
> All the other widestring (uppercase, compare etc) functions do.
Ok, thanks for that.
Is there an easy way to see when a RTL function requires cwstring
On Fri, Mar 25, 2016 at 2:01 PM, Michael Van Canneyt
wrote:
> Look at the sources
Which proves me right, or do I miss something?
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi
On 2016-03-25 12:20, Bart wrote:
> If you're using LazUtf8 (or use LCL) then cwstring will be used in your app.
I don't use LCL at all, pure RTL & FCL code only. Based on the fact that
LCL's code also requires "cwstrings" I assume my original assumptions is
correct, that if I want to do any UTF8-
On Fri, 25 Mar 2016, Felipe Monteiro de Carvalho wrote:
On Fri, Mar 25, 2016 at 1:20 PM, Bart wrote:
If you're using LazUtf8 (or use LCL) then cwstring will be used in your app.
And I guess that Utf8ToUtf16 from Lazutf8 does not depend on a WS
manager, but I may be terribly wrong about that.
On Fri, Mar 25, 2016 at 1:20 PM, Bart wrote:
> If you're using LazUtf8 (or use LCL) then cwstring will be used in your app.
> And I guess that Utf8ToUtf16 from Lazutf8 does not depend on a WS
> manager, but I may be terribly wrong about that.
As far as I remember, lazutf8 doesn't depending on cws
On Fri, 25 Mar 2016, Michael Van Canneyt wrote:
On Fri, 25 Mar 2016, Graeme Geldenhuys wrote:
Hi,
I'm using FPC 2.6.4 primarily. Am I correct in that UTF8Decode and most
(if not all) UTF8-to-UTF16 conversions don't function correctly (or not
at all) if you don't include the cwstrings unit
On Fri, 25 Mar 2016, Graeme Geldenhuys wrote:
Hi,
I'm using FPC 2.6.4 primarily. Am I correct in that UTF8Decode and most
(if not all) UTF8-to-UTF16 conversions don't function correctly (or not
at all) if you don't include the cwstrings unit in your project? I
referring to Unix-based OSes her
On 3/25/16, Graeme Geldenhuys wrote:
> I'm using FPC 2.6.4 primarily. Am I correct in that UTF8Decode and most
> (if not all) UTF8-to-UTF16 conversions don't function correctly (or not
> at all) if you don't include the cwstrings unit in your project? I
> referring to Unix-based OSes here.
If yo
Hi,
I'm using FPC 2.6.4 primarily. Am I correct in that UTF8Decode and most
(if not all) UTF8-to-UTF16 conversions don't function correctly (or not
at all) if you don't include the cwstrings unit in your project? I
referring to Unix-based OSes here. I believe Windows automatically
include the Wide
19 matches
Mail list logo