Skip to main content

Mozilla

  • About
  • Foundation
  • Contribute
  • Community
  • Developers
  • Projects

  • Roadmap
  • Projects
  • Coding
    • Module Owners
    • Hacking
    • Get the Source
    • Build It
  • Testing
    • Releases
    • Nightly Builds
    • Report A Problem
  • Tools
    • Bugzilla
    • Tinderbox
    • Bonsai
    • LXR
  • FAQs

PUBLIC void INTL_CSIReportMetaCharsetTag ( INTL_CharSetInfo obj, char *charset_tag, int type )

Sets HTML META charset info in the given charset info object

Documentation

Sets HTML META charset info in the given charset info object.
  • If the given charset is unknown, this function returns.
  • If the given context type is mail or news, this function returns, since mail/news sometimes has wrong HTML META charsets.
  • If the relayout flag is set to something other than METACHARSET_NONE, this function returns, to avoid setting the META charset more than once.
  • Otherwise, the HTML META charset field is set, and the relayout flag is set to METACHARSET_HASCHARSET. If the previous document charset was known, and was different from the new META charset, the relayout flag is set to METACHARSET_REQUESTRELAYOUT. The window charset ID is also checked against the new one. If they are different, the relayout flag is set to METACHARSET_REQUESTRELAYOUT.
Parameters:
obj - Specifies the charset info object
charset_tag - Specifies the HTML META charset
type - Specifies the context type
See Also:
INTL_GetCSIMetaDocCSID, INTL_GetCSIRelayoutFlag

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++


  • Support Options
  • Security Center
  • Privacy Policy
  • Contact Us

International Affiliates: Mozilla Europe - Mozilla Japan - Mozilla China

Portions of this content are © 1998–2008 by individual mozilla.org contributors
Content available under a Creative Commons license

Last modified April 16, 1998 Document History Edit this Page (or via CVS)