Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
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 |
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.