Re: [fpc-devel] UnicodeString and RTL

2008-11-21 Thread Michael Schnell
I'm new to this, but as far as I understand, WideString is for backward compatibility on Windows olestr type. It's not reference counted. Whereas UnicodeString type is reference counted on all platforms. I found the paragraph in the Wiki :) . I wonder how we should deal with not reference c

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Graeme Geldenhuys
On 11/20/08, Michael Schnell <[EMAIL PROTECTED]> wrote: > > > UnicodeString (the type in FPC 2.3.1) is a UTF-16 > > type, > > > I was not aware that there is a type with this name. Why does it exist ? > WideString that is not Unicode does not make much sense. I'm new to this, but as far as I unde

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Michael Schnell
UnicodeString (the type in FPC 2.3.1) is a UTF-16 type, I was not aware that there is a type with this name. Why does it exist ? WideString that is not Unicode does not make much sense. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Graeme Geldenhuys
On Thu, Nov 20, 2008 at 4:46 PM, Michael Schnell <[EMAIL PROTECTED]> wrote: > > UTF8 _is_ a Unicode coding and thus UTF8String _should_be_ a Unicode String > type (of course it is not in the current implementation, as the compiler > can't tell it from ANSIString, but that is exactly what we are dis

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Michael Schnell
As long as the ANSIString and UTF8String and String types are the same to the compiler this questions does not make too much sense. Well those all refer to ANSI string types. What do you mean by this ? These refer to "Byte String Types" I was referring to WideString and UnicodeString t

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: > On Thu, Nov 20, 2008 at 4:10 PM, Aleksa Todorovic <[EMAIL PROTECTED]> wrote: >> Or... it could be implemented using generics, so one can choose: >> >> TStringList >> TStringList >> TStringList >> >> (sorry for C++ish syntax, but I hope you understand) > > > I somehow

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Graeme Geldenhuys
On Thu, Nov 20, 2008 at 4:10 PM, Aleksa Todorovic <[EMAIL PROTECTED]> wrote: > Or... it could be implemented using generics, so one can choose: > > TStringList > TStringList > TStringList > > (sorry for C++ish syntax, but I hope you understand) I somehow managed to skip the whole generics thing a

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Graeme Geldenhuys
On Thu, Nov 20, 2008 at 4:09 PM, Michael Schnell <[EMAIL PROTECTED]> wrote: > >> * I can't seem to find a UnicodeString version of TStrings or TStringList >> > > As long as the ANSIString and UTF8String and String types are the same to > the compiler this questions does not make too much sense. W

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Aleksa Todorovic
Or... it could be implemented using generics, so one can choose: TStringList TStringList TStringList (sorry for C++ish syntax, but I hope you understand) On Thu, Nov 20, 2008 at 15:07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys schrieb: >> Hi, >> >> Is there any list of mis

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Michael Schnell
* I can't seem to find a UnicodeString version of TStrings or TStringList As long as the ANSIString and UTF8String and String types are the same to the compiler this questions does not make too much sense. -Michael ___ fpc-devel maillist - fp

Re: [fpc-devel] UnicodeString and RTL

2008-11-20 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: > Hi, > > Is there any list of missing features for UnicodeString in the RTL? > > For example: > > * I can't seem to find a UnicodeString version of TStrings or TStringList > > > Any more such cases? No idea, nobody complainted so far ;) Just create one. > I wo

[fpc-devel] UnicodeString and RTL

2008-11-20 Thread Graeme Geldenhuys
Hi, Is there any list of missing features for UnicodeString in the RTL? For example: * I can't seem to find a UnicodeString version of TStrings or TStringList Any more such cases? I would like to create a RTL UnicodeString RoadMap, so the missing parts can be know and implemented. Regards