tag:blogger.com,1999:blog-4434108347727659251.post7062761035044334572..comments2022-06-29T08:53:03.580+02:00Comments on Compas Pascal: Raw binary data in Delphi 2009 strings, by exampleUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4434108347727659251.post-55473621983549068442008-12-15T08:04:00.000+01:002008-12-15T08:04:00.000+01:00>AnsiString and RawByteString both >use one ...>AnsiString and RawByteString both <BR/>>use one byte per character.<BR/><BR/>Yes it's true if you are using one byte per character code page (latin or cyrillic).<BR/><BR/>For hieroglyphs it's not true.vsghttps://www.blogger.com/profile/16334038598310164941noreply@blogger.comtag:blogger.com,1999:blog-4434108347727659251.post-77437762845776087472008-10-23T13:18:00.000+02:002008-10-23T13:18:00.000+02:00On my pc(Simplified Chinese),length(AllByteValues)...On my pc(Simplified Chinese),<BR/>length(AllByteValues) = 193, not 256.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4434108347727659251.post-35832383039029537712008-10-14T21:51:00.000+02:002008-10-14T21:51:00.000+02:00I think the reference was to the new string type, ...I think the reference was to the new string type, not the old ansistring type.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4434108347727659251.post-56489048681041985152008-10-14T16:17:00.000+02:002008-10-14T16:17:00.000+02:00Nonsense.AnsiString and RawByteString both use one...Nonsense.<BR/><BR/>AnsiString and RawByteString both use one byte per character. Look it up.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4434108347727659251.post-20673376228148371902008-10-14T13:03:00.000+02:002008-10-14T13:03:00.000+02:00You mean aside from the obvious problem that you c...You mean aside from the obvious problem that you can only store an even numbered amount of data in the new double byte based string *OR* have each byte word aligned.<BR/><BR/>Both of which defeat the purpose?Anonymousnoreply@blogger.com