|
|
ID: 26509, UCS4Encoding Version 1.00
UCS4Encoding provides TEncoding class for UTF-32LE / BE.
You can easily read or write text file which encoding is UTF-32.
|
| Download
| Details
|
|
|
|
|
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
|
|
To download this, you must have registered:
|
For Delphi, Version 12.0
to 12.0
55 downloads
Copyright: Open Source or other
Updated on Fri, 26 Dec 2008 08:31:34 GMT
Originally uploaded on Fri, 26 Dec 2008 08:31:17 GMT
SHA1 Hash: E2D3BEF69D840765894756FE0DA8FA02C7E875DF
MD5 Hash: 795454CCBC15460F53F41A6569A49176
|
Explore the files in this upload
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
| Description
|
Basically, how to use TUCS4Encoding is the same as TEncoding.
var
enc: TEncoding;
begin
enc := TUCS4Encoding.Create;//Little Endian with BOM
try
Memo1.Lines.LoadFromFile('test.txt',enc);
finally
enc.Free;
end;
end;
--Constructor
TUCS4Encoding has overloaded constructors as UTF32Encoding class on .NET Framework.
* constructor Create; overload; virtual;
* constructor Create(BigEndian: Boolean); overload; virtual;
* constructor Create(BigEndian, BOMEnable: Boolean); overload; virtual;
If BigEndian is True, TUCS4Encoding will act as UTF-32BE.
If BOMEnable is False, TUCS4Encoding.GetPreamble will return no value.
Default behavior is BigEndian is False and BOMEnable is True.
(TUCS4Encoding will act as LittleEndian with BOM)
|
|

Server Response from: CDC1
|
Connect with Us