The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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-2000 The Mozilla Organization.
Last modified April 17, 1998.