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
    • MXR
  • FAQs

PUBLIC uint32 INTL_TextToUnicodeLen ( INTL_Encoding_ID encoding, unsigned char* src, uint32 srclen )

Return memory requirement for INTL_TextToUnicode

Documentation

Return memory requirement for INTL_TextToUnicode. Return the maximum memory requirement for text converted from a specified encoding to Unicode . Call this to prepare memory for INTL_TextToUnicode. The difference between INTL_StrToUnicodeLen is the input is not specified by a NULL terminated string, but a pointer and length.
Returns:
Size of Unicode to store the converted output (in UCS-2 units not bytes)
Parameters:
encoding - Specifies the encoding of text in src
src - Specifies the text to be converted
srclen - Specifies the number of bytes in src
See Also:
INTL_TextToUnicode
INTL_StrToUnicodeLen

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)