Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Shift-JIS to URL Encoding Converts Shift-JIS encoded character data into a URL-encoded string. Chilkat.Crypt2 crypt2 = new Chilkat.Crypt2();
crypt2.UnlockComponent("anything for 30-day trial");
crypt2.CryptAlgorithm = "none";
crypt2.EncodingMode = "url";
crypt2.Charset = "shift-jis";
// This example loads Shift-JIS bytes from a file
// This file can be found at http://www.chilkatsoft.com/testData/shiftJisChars.txt
byte [] shiftJisBytes = crypt2.ReadFile("shiftJisChars.txt");
string urlEncoded = crypt2.EncryptBytesENC(shiftJisBytes);
MessageBox.Show(urlEncoded);
Important: The download for this
example does not contain the ChilkatDotNet.dll which |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.