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 unsigned char* INTL_ConvertLineWithoutAutoDetect ( int16 fromcsid, int16 tocsid, unsigned char *pSrc, uint32 block_size )

Converts a piece of text from one charset to another

Documentation

Converts a piece of text from one charset to another. This function does not do charset ID auto-detection. The caller must pass the from/to charset IDs. This function does not keep state. Don't use it to convert a stream of data. Only use this when you want to convert a string, and you have no way to hold on to the converter object. If the string gets converted in place (use the input buffer), then this function returns NULL.
Returns:
The converted text, null terminated, or NULL if converted in place
Parameters:
fromcsid - Specifies the charset ID to convert from
tocsid - Specifies the charset ID to convert to
pSrc - Specifies the input text
block_size - Specifies the number of bytes in the input text
See Also:
INTL_CallCharCodeConverter

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)