bytes or chars ?
erne
ernestogiannotta at tiscalinet.it
Thu Sep 16 18:06:06 CDT 2004
on 16-09-2004 15:20, Martin Kloss at martin.kloss at gmx.de wrote:
> I think there's only going to be a little overhead in "thinking time" for
> us developers,
> when creating utf-8 fields, as we have to consider the language and
> possible usage
> of 2-byte characters. But the end-user of our applications will think in
> "characters" anyway,
> so we just have to figure out what approximate number of characters we will
> let them
> type into a certain field. But that's something I can live with, as Eric
> said, consistency
> is most important here.
>
with RB we have Len(string) that returns number of characters
and LenB(string) that returns number of bytes
so for a RB developer is quite straightforward to know when the allocated
bytes limit is reached and alert the user
Cool Runnings,
Erne.
--
| e r | Ernesto Giannotta
| n e | Musical Box - a media store
More information about the Valentina-beta
mailing list