Chilkat 9.0.6 Release Notes
The following changes, fixes, and new features are available in version 9.0.6.
General
Items listed here are fixes or enhancements in underlying internal code that may apply to one or more Chilkat products.
- Charset (i.e. character encoding) detection for HTML is determined by the presence of META HTML tag such as this:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
For XHTML documents, the META tag may not be present, but the charset might instead be specified in the XML declarator, like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" ...
The underlying HTML charset detection functionality has been improved to use the XML declarator if present.
Gzip
- The charset argument in Gzip.CompressString, Gzip.CompressStringToFile, and Gzip.DeflateStringENC may be prefaced with “bom:” to include the preamble/BOM for utf-8 or Unicode. For example: “bom:utf-8”, or “bom:Unicode”.
HTTP
- Fixed Digest Authentication problem. Digest Authentication was not working properly w/ the SynchronousRequet, PostMime, or PostXml methods.
XML
- Added the DocType property for setting/getting DOCTYPE for an XML document.
To set the DocType property, set it equal to the entire tag including angle brackets, such as:xml.DocType = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
admin
0
Tags :