Overview | Namespace | Class | Index | Help

## Global Functions in Namespace rtl
in Sourcefile ustring.hxx

OStringToOUString
  OUString OStringToOUString(

    const OString & | rStr,
    rtl_TextEncoding | encoding,
    sal_uInt32 | convertFlags = OSTRING_TO_OUSTRING_CVTFLAGS );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Convert an OString to an OUString, using a specific text encoding.
  Description
    The lengths of the two strings may differ (e.g., for double-byte encodings, UTF-7, UTF-8).
  Parameters

    rStr |
            an OString to convert.
    encoding |
            the text encoding to use for conversion.
    convertFlags |
            flags which control the conversion.  Either use
            OSTRING_TO_OUSTRING_CVTFLAGS, or see
             for more
            details.

OUStringToOString
  OString OUStringToOString(

    const OUString & | rUnicode,
    rtl_TextEncoding | encoding,
    sal_uInt32 | convertFlags = OUSTRING_TO_OSTRING_CVTFLAGS );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | YES | NO

  Summary
    Convert an OUString to an OString, using a specific text encoding.
  Description
    The lengths of the two strings may differ (e.g., for double-byte encodings, UTF-7, UTF-8).
  Parameters

    rStr |
            an OUString to convert.
    encoding |
            the text encoding to use for conversion.
    convertFlags |
            flags which control the conversion.  Either use
            OUSTRING_TO_OSTRING_CVTFLAGS, or see
             for more
            details.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.