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

Back to CharsetConvert Class Summary

CharsetConvert::ConvertHtml

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. The converted HTML is returned. If the HTML could not be converted, a NULL is returned.

  Declarations  
    [Visual Basic]
Public Function ConvertHtml(ByVal htmlText() As Byte) As Byte()

[C#]
public byte [] ConvertHtml(byte[] htmlText);

[C++]
public unsigned char __gc[] ConvertHtml(unsigned char __gc[] htmlText);

[JScript]
public function ConvertHtml(Byte[] htmlText) : Byte[]
 
  Parameters  
   
htmlText
HTML text to be converted
 

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