[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on C strings

From: Norbert Nemec
Subject: Re: More on C strings
Date: Wed, 13 Dec 2000 07:27:47 +0100
User-agent: Mutt/1.2.5i

On Wed, Dec 13, 2000 at 01:37:37AM +0000, Dave Simons wrote:
> Please, PLEASE, Sathermasters, integrate something into the STR class
> to give this speed legally, cleanly, and portably!

In the new library, string handling has been *completely* reworked. Strings are 
internationalized now, so there is not the one, simple, straightforward 
conversion to C-strings anymore. I do not know exactly what would be the 
method to convert string that does correspond to your CSTR class. Problem is 
that, AFAIK, the bytewise representation of unicode strings is implementation 
defendant, so just passing a pointer to the memory space where the string is 
stored will never give you anything portable.


-- ______________________________________________________
--          To Him, even that machine here has to obey...
-- _________________________________Norbert "Nobbi" Nemec
-- Hindenburgstr. 44  ...  D-91054 Erlangen  ...  Germany
-- eMail: <address@hidden>   Tel: +49-(0)-9131-204180

reply via email to

[Prev in Thread] Current Thread [Next in Thread]