Vote UpVote

When someone writes UTF-8 and UTF-16 strings to the same file in binary format without converting between them…

The Wiert Corner – A while ago, I had to fix some stuff in an application that would write – using a binary mechanism – UTF-8 and UTF-16 strings (part of it XML in various flavours)  to the same byte stream without converting between the two encodings. Some links that helped me investigate what was wrong, choose what encoding to use for storage and fix it: unicode – How to Convert Ansi to UTF 8 with TXMLDocument in Delphi – Stack Overflow delphi – What should I use? UTF8 or UTF16? – Stack Overflow IXMLDocument.SaveToStream does not always use UTF-16 encoding | Marc ...
Favorite? Off-Topic? jpluimers @ 2017-06-21 07:05


Visits: 658
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)