WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the
XUL hub at the
Mozilla Developer Center.
@mozilla.org/intl/saveascharset;1
This component implements the following interfaces:
Constants
| PRUint32 |
nsISaveAsCharset.mask_Fallback |
= 255 |
| PRUint32 |
nsISaveAsCharset.mask_Entity |
= 768 |
| PRUint32 |
nsISaveAsCharset.mask_CharsetFallback |
= 1024 |
| PRUint32 |
nsISaveAsCharset.mask_IgnorableFallback |
= 2048 |
| PRUint32 |
nsISaveAsCharset.attr_FallbackNone |
= 0 |
| PRUint32 |
nsISaveAsCharset.attr_FallbackQuestionMark |
= 1 |
| PRUint32 |
nsISaveAsCharset.attr_FallbackEscapeU |
= 2 |
| PRUint32 |
nsISaveAsCharset.attr_FallbackDecimalNCR |
= 3 |
| PRUint32 |
nsISaveAsCharset.attr_FallbackHexNCR |
= 4 |
| PRUint32 |
nsISaveAsCharset.attr_EntityNone |
= 0 |
| PRUint32 |
nsISaveAsCharset.attr_EntityBeforeCharsetConv |
= 256 |
| PRUint32 |
nsISaveAsCharset.attr_EntityAfterCharsetConv |
= 512 |
| PRUint32 |
nsISaveAsCharset.attr_CharsetFallback |
= 1024 |
| PRUint32 |
nsISaveAsCharset.attr_IgnoreIgnorables |
= 2048 |
| PRUint32 |
nsISaveAsCharset.attr_plainTextDefault |
= 0 |
| PRUint32 |
nsISaveAsCharset.attr_htmlTextDefault |
= 259 |
Properties
readonly char* nsISaveAsCharset.charset
Methods
| Interface | Method |
| nsISaveAsCharset |
char* Convert ( PRUnichar* inString )
|
| nsISaveAsCharset |
void Init ( char* charset , PRUint32 attr , PRUint32 entityVersion )
|
Reference documentation is generated from Mozilla's source.