The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Projects
Module Owners
Blue Sky
New Layout
Mail/News
Ports
Other
Source Code
Getting It
Documentation
License Terms
Bugs
Search
Feedback
DevEdge Online


PUBLIC Stream* INTL_ConvCharCode ( int format_out, void *data_obj, URL *URL_s, iDocumentContext window_id )

Set up the charset conversion stream module

Documentation

Set up the charset conversion stream module. This function gets the charset info object from the context, and then picks up the relayout flag and the document charset ID before calling INTL_CSIInitialize. It then creates the appropriate charset converter to convert from the document to window charset. The stream is set up by setting the various function pointers (put, abort, complete, etc). It then hooks up to the next stream module "INTERNAL_PARSER", the HTML parser and layout engine. This is done by rewriting URL_s' content_type field.
Returns:
Stream object corresponding to this charset conversion module
Parameters:
format_out - Specifies the type of stream
data_obj - Ignored
URL_s - Specifies the URL object
window_id - Specifies the context
See Also:
INTL_CSIInitialize, NET_StreamBuilder

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++



Copyright © 1998 Netscape Communications Corporation.