LdapUnicodeToUTF8(3w)

LdapUnicodeToUTF83w

Usage

int CDECL LdapUnicodeToUTF8
(
LPCWSTR src,
int srclen,
LPSTR dst,
int dstlen
)

Overview

Convert a wide character string to a UTF8 string.

Params

src [In] Wide character string to convert.

srclen [In] Size of string to convert, in characters.

dst [Out] Pointer to a buffer that receives the converted string.

dstlen [In] Size of the destination buffer in characters.

Returns

The number of characters written into the destination buffer.

Notes

Set dstlen to zero to ask for the required buffer size.

Implementation

Declared in "winldap_private.h".

Implemented in "dlls/wldap32/misc.c".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.