Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 28036, TAltEncoding ver1.00

by Hideaki Tominaga Email: Anonymous


Please see QC#78134.
Download Details
FTP  download also available
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:
A free membership

For Delphi, Version 12.0  to 15.0 55 downloads
Copyright: Open Source or other


Size: 930 bytes
Updated on Sun, 19 Sep 2010 08:50:56 GMT
Originally uploaded on Sun, 19 Sep 2010 08:51:28 GMT
SHA1 Hash: 87E6FC50EC705C6A2651A5173FE99676BE0D5354
MD5 Hash: 66E0535CDB4BEDE930EB81D9E176D7B2

    Explore the files in this upload

Description
Report No: 78134 Status: Closed
WideCharToMultibyte() of Windows 2000 miscalculates the size of the buffer
http://qc.embarcadero.com/wc/qcmain.aspx?d=78134
QCWIN:Defect_No=78134

Related codepages:

- 50220 ISO-2022-JP
- 50221 csISO2022JP
- 50222 iso-2022-jp
- 50225 iso-2022-kr
- 50227 x-cp50227
- 50229 iso-2022-tw

USAGE:
------------------------------------------------------------
uses
..., AltEnc;

procedure TForm1.Button1Click(Sender: TObject);
var
SL: TStringList;
Enc1: TEncoding;
Enc2: TAltEncoding;
begin
SL := TStringList.Create;
Enc1 := TEncoding.GetEncoding(50220);
Enc2 := TAltEncoding.Create(50220);
try
SL.Add('abc' + #$30C6#$30B9#$30C8 + 'def');
SL.SaveToFile('C:\50220_1.txt', Enc1);
SL.SaveToFile('C:\50220_2.txt', Enc2);
finally
Enc2.Free;
Enc1.Free;
SL.Free;
end;
end;
------------------------------------------------------------

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04