🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #19

Re: What is the different between AnsiString and UTF8String?

#19
From: Jaakko Salmenius
Date: Tue, 16 Jan 2007 03:30
14 lines
1694 bytes
Multi byte strings are also AnsiStrings. Most major Asian countries 
including Japan, China, Taiwan and Korean use multi byte encoding. Shift 
JIS/932 is a multi byte encoding. Delphi's AnsiString can contains these 
string just like English, Finnish and Russian.

My point is that whenever there is an AnsiString in Delphi you need to know 
what is the code page that the string uses. Otherwise you might end up 
interpreting the string incorrectly.

You were right about byte and bit. I ment bit but wrote byte.

Best regards,
Jaakko Salmenius
www.sisulizer.com 
Technical Details
Message-ID: <45ac46c0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45a29580@newsgroups.borland.com> <45a4a963@newsgroups.borland.com> <45a602a3$1@newsgroups.borland.com> <45abbac7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,df1e44fdeda5937e
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jaakko Salmenius" <jaakko.salmenius (at) sisulizer.com>
Newsgroups: borland.public.cppbuilder.internationalization
References: <45a29580@newsgroups.borland.com> <45a4a963@newsgroups.borland.com> <45a602a3$1@newsgroups.borland.com> <45abbac7@newsgroups.borland.com>
Subject: Re: What is the different between AnsiString and UTF8String?
Date: Tue, 16 Jan 2007 12:30:31 +0900
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 58.156.14.236
Message-ID: <45ac46c0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1168918208 58.156.14.236 (15 Jan 2007 19:30:08 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail