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
Convert HTML File to Another Charset Encoding
Visual Basic example program showing how to convert an HTML file from one charset encoding to another. Dim cc As New ChilkatCharset2 cc.UnlockComponent "anything for 30-day trial" ' Convert an HTML file from one charset to another. ' The ConvertHtmlFile will do two things: ' 1) Convert character data from one character encoding to another. ' 2) Add or modify the charset META tag within the HTML. cc.FromCharset = "euc-jp" cc.ToCharset = "utf-8" cc.ConvertHtmlFile "asahi_euc_jp.html", "asahi_utf-8.html"
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.