Menu

/branches/delphi2010-port/Src/UUnicodeHelper.pas Commit Log


Commit Date  
[r604] (10.7 kB) by delphidabbler

* Rationalised use of TStringStream with relation to the required encoding when Unicode enabled.
* Replaced calls to TStringStreamEx with calls to TStringStream with TEncoding.Unicode passed to constructor.
* Removed TStringStreamEx from UUnicodeHelper and re-organised code somewhat.

2010-02-08 04:45:07 View
Download
[r498] (11.8 kB) by delphidabbler

Modified non-Unicode implementation of IsWhiteSpace in UUnicodeHelper.pas to test for white space characters defined in UConsts unit.

2009-11-07 13:54:14 View
Download
[r490] (11.7 kB) by delphidabbler

Added support for ASCII string type to UUnicodeHelper.pas: code page constant, string type and conversion routines.

2009-11-07 11:14:23 View
Download
[r486] (10.8 kB) by delphidabbler

* Extended TLatin1Encoding class with a class property the provides a singleton instance.
* Added Latin1Encoding encoding function that provide alternative access to TLatin1Encoding singleton.
* Removed unused IsLatin1Char function.
* Reimplemented ANSI version of ASCIIBytesOf function to replace non-ASCII chars with '?' character.
* Documented the UUnicodeHelper.pas unit.

2009-10-25 15:36:11 View
Download
[r485] (5.0 kB) by delphidabbler

* Changed TUserDBBackup.Backup to convert string for which checksum is required to Latin1 bytes using Latin1Bytes from UUnicodeHelper.pas rather than BytesOf.
* Removed Ansi compiler only implementation of BytesOf from public section of UUnicodeHelper.pas and renamed implementation as AnsiStringBytesOf for internal use only.

2009-10-25 12:47:25 View
Download
[r480] (5.1 kB) by delphidabbler

Added routines to UUnicodeHelper unit to safely convert a string to a Latin-1 encoded AnsiString and to check if a character is Latin-1.

2009-10-24 23:52:28 View
Download
[r474] (4.5 kB) by delphidabbler

* Changed character set testing code in several units to use char set helper functions added to UUnicodeHelper.pas instead of testing directly against literal or constant sets. This prevents Delphi 2010 warnings about WideChar being reduced to byte char in set expressions.
* Changed use of UpCase built-in to use ToUpperCase function added to UUnicodeHelper.pas.
* Added various set handling routines along with ToUpperCase function. These mainly call TCharacter methods on Unicode Delphis and have custom implementations on other Delphis.

2009-10-24 20:53:52 View
Download
[r473] (3.0 kB) by delphidabbler

Modified TAppInfo.GenerateKey to be Unicode compatible: now uses new ASCIIBytesOf routine (added to UUnicodeHelper unit) to ensure program key contains only ASCII characters.

2009-10-24 18:03:10 View
Download
[r470] (2.8 kB) by delphidabbler

* Added support for Latin1 code page: string definition, code page constant, custom encoding class and Latin1BytesOf helper function.
* Defined TBytes for non-Unicode Delphis.
* Provided BytesOf function for non-Unicode Delphis.

2009-10-24 10:22:37 View
Download
[r447] (1.6 kB) by delphidabbler

* Added new UUnicodeHelper unit that contains code designed to aid porting to Unicode.
* Initially new unit contains only the TStringStreamEx class.

2009-10-22 00:09:18 View
Download
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.