Marco Cantu also has much to say in his D2009 book, about 100 pages on Unicode.
Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz Follow us on Twitter http://twitter.com/salespartner PO Box 13085 Johnsonville Wellington On 20/01/2012 5:20 p.m., Peter Ingham wrote: > There are several other things to be aware of. > > Code using Move, FillChar or pointers into strings (PChars)& the like > needs to be checked with care. Move (s[1], x, Length(s)) won't work as > expected. > > Array [xx] of BYTE and Array [xx] of Char are no longer equivalent - > I've found many cases where code assumed they are. > > FillChar under D2009+ is badly misnamed as it really does a FillByte. > > > Truely correct handling of Unicode involves more than just assuming > Characters are now 2 Bytes and strings are arrays of Chars (Issue of > Codepoints vs Displayable characters). > > Bob Swart has good coverage of Unicode conversions in chapter 6 of his > e-Book "Delphi 2009 Development Essentials'& I know Cary Jensen has > also produced material on the topic. > > Regards > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [email protected] with > Subject: unsubscribe > > _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
