 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Francis Pallini Guest
|
Posted: Wed Jul 09, 2003 8:28 pm Post subject: UTF8String internal format |
|
|
Hi,
If an ASCII string is zero terminated, how is terminated an UTF8
string ? Or, how does "Length(myUTF8String)" know the actual length of
the string ?
Regards,
Francis PALLINI
|
|
| Back to top |
|
 |
Francis Pallini Guest
|
Posted: Tue Jul 15, 2003 4:41 pm Post subject: Re: UTF8String internal format |
|
|
Thanks a lot! What a dynamic online community.
Francis PALLINI
[email]francis.pallini (AT) ecilia (DOT) fr[/email] (Francis Pallini) wrote in message news:<bb30ab9a.0307150506.c1daaf1 (AT) posting (DOT) google.com>...
| Quote: | Hi Francis,
An UTF8String variable is simply a pointer. It references the
beginning of the actual string. Just before the beginning the string,
you will find an header with reference counter and string length (see
StrRec in System.pas). And don't forget such strings are zero
terminated. Wanna know more about UTF8String? Have a look to
AnsiString!
It is also explained in POO reference guide. RTFM ;-)
Regards,
Francis PALLINI
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|