|
Improve compatibility for parallel installation with other DI packages.
Some code cleanup.
Fixed an error which could prematurely stop TDIUnicodeReader when a pushed source was popped at the end of a nested document.
Added Delphi 3 compatibility to the utility units.
Included the missing DIUnicodeCodePages.pas file which is required to compile the FontCharSet example project.
Resolved dependency issues when DIUnicode is used in parallel with other DI products.
Added support for Delphi 2005 Win32.
Added TDIUnicodeReader.ReadBOM function which returns the Byte Order Mark (BOM) found at the current position and advances the position accordingly.
Added TDIUnicodeReader.SourceFile property as a simple means to read from a file.
Added optional WriteByteOrderMark parameter to TDIUnicodeReader's SaveDataToFile and SaveDataToStream which controls if a UTF-16/UCS-2 little endian byte order mark is being written before the data.
Other, smaller improvements and bug fixes.
Added the possibility to link DIUnicode against DIConverters, which gives access to 130+ character encodings.
Added Pascal implementation for reading / decoding and writing / encoding the following character sets:
Mac Arabic, Mac Dingbats, Mac Central Europe, Mac Croatian, Mac Cyrillic, Mac Farsi, Mac Greek, Mac Hebrew, Mac Iceland, Mac Roman, Mac Romanian, Mac Thai, Mac Turkish.
UCS-2 LE, CS-2 BE
UCS-4 LE, UCS-4 BE
UTF-32 LE, UTF-32 BE
UTF-7 (Write_UTF_7 / Read_UTF_7)
UTF-7 Optional Direct Characters (Write_UTF_7_ODC / reads as Read_UTF_7)
JIS X0201, NextStep, TIS 620
Bug fixes.
Added support for reading and writing UTF-7 according to RFC 2152. Writing UTF-7 comes in two flavors, with (Write_UTF_7) or without (Write_UTF_7_ODC) encoding optional direct characters. UTF-7 reading (Read_UTF_7) works equaly well for both writing methods.
Implementation of UTF-7 made it necessary to change the reading and writing implementation of TDIUnicodeReader and TDIUnicodeWriter to allow data buffering between consecutive reads and writes.
PushSource and PopSource methods added to TDIUnicodeReader which allows to insert one source into another, like the Pascal {$INCLUDE …} directive.
TDIUnicodeReader can optionally free its source stream if the reading reached the end of the stream. This is especially usefull when reading nested files using the PushSource and PopSource methods. The protected property AutoFreeSourceStre ams may be used by descendent classes which implement specialized reading / parsing.
Added Methods for reading digits and hexadecimal characters to TDIUnicodeReader, as well as for retrieving data as trimmed strings.
Various other improvements, code clean-ups and minor bug fixes.
products/unicode/history.txt · Last modified: 2010/04/07 11:52 (external edit)
|