Microsoft SDK for Java

makeJavaStringFromUtf8

Creates a new Java String object, initialized from a NULL-terminated, UTF8-formatted, C string.

Syntax

Hjava_lang_String* __cdecl makeJavaStringFromUtf8(const char *pszUtf8);

Return Value

Returns a string formatted as a Java String object.

Parameters

*pszUtf8 The address of the initialization string.

Remarks

Unlike other RNI string conversion functions, makeJavaStringFromUtf8 does not require a character count but does require NULL termination of the UTF8 string.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.