.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to CharsetConvert Class Summary

CharsetConvert::ConvertHtmlFile

Converts HTML text to another charset. The "from" charset is determined by parsing out the charset information found in a META-tag, or if that is not present, it uses the FromCharset property. The HTML is converted to the charset specified by the ToCharset property. The META-tag is updated, or added if it previously did not exist. Returns true if successful, otherwise false.

  Declarations  
    [Visual Basic]
Public Function ConvertHtmlFile(ByVal String inHtmlFilename , ByVal String outHtmlFilename) As Boolean

[C#]
public bool ConvertHtmlFile(string inHtmlFilename , string outHtmlFilename);

[C++]
public bool ConvertHtmlFile(String *inHtmlFilename , String *outHtmlFilename);

[JScript]
public function ConvertHtmlFile(String inHtmlFilename , String outHtmlFilename) : Boolean
 
  Parameters  
   
inHtmlFilename
HTML file to be converted
outHtmlFilename
HTML file to be created or overwritten
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.