BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UTF8String internal format

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization
View previous topic :: View next topic  
Author Message
Francis Pallini
Guest





PostPosted: Wed Jul 09, 2003 8:28 pm    Post subject: UTF8String internal format Reply with quote



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





PostPosted: Tue Jul 15, 2003 4:41 pm    Post subject: Re: UTF8String internal format Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.