bytes or chars ?

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Sep 16 20:19:34 CDT 2004


On 9/16/04 7:21 PM, "Robert Brenstein" <rjb at robelko.com> wrote:

> b)
> 
> If I get a string from user, I may need to know whether it fits into
> a given field. Thus, I'd like a function like
> Utility_GetDataSize(usertext,"UTF-8") which tells me the byte count
> required for storage.
> 
> Is it unreasonable to ask kernel to tell me that using the very same
> routines that will actually do the conversion?

>From on side.

>From other you can simply try to assign and read back.
You will get the string which was stored.


In any case Robert, this are details.
We can discuss them later.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list