public static final class HtmlInfo.CharsetApplyingForceLevel
extends com.aspose.ms.System.Enum
It enumerates possible levels of enforcing of usage of preferrable encoding when document is loaded from HTML-stream. (In such case stream is converted to HTML-string with usage of some encoding). Prefferable encoding (it's web-name) specified in attribute 'CharSet'.
Modifier and Type | Field and Description |
---|---|
static int |
EnforceUseAlways
this level tells to loader that prefered encoding specified in * attribute CharSet must be used allways, and it does not matter
whether the necessary encoding can be detected from HTML content or
not
|
static int |
UseWhenImpossibleDetectFromContent
this level tells to loader that prefered encoding, specified in
attribute CharSet should be used only when it's impossible to detect
charset from HTML content itself.
|
public static final int UseWhenImpossibleDetectFromContent
this level tells to loader that prefered encoding, specified in attribute CharSet should be used only when it's impossible to detect charset from HTML content itself. This level is default one.
public static final int EnforceUseAlways
this level tells to loader that prefered encoding specified in * attribute CharSet must be used allways, and it does not matter whether the necessary encoding can be detected from HTML content or not
Copyright © 2016 Aspose. All Rights Reserved.