CryptoSys PKI Pro Manual

CNV_UTF8FromLatin1

Converts a string of 8-bit Latin-1 characters into UTF-8 format
@deprecated Use CNV_UTF8BytesFromLatin1() instead.

VBA/VB6 Syntax

Public Declare Function CNV_UTF8FromLatin1 Lib "diCrPKI.dll" (ByVal strOutput As String, ByVal nOutChars As Long, ByVal strInput As String) As Long

nLen = CNV_UTF8FromLatin1(strOutput, nOutChars, strInput)

C/C++ Syntax

long __stdcall CNV_UTF8FromLatin1(char *szOutput, long nOutChars, const char *szInput);

Parameters

szOutput
[out] to receive the output.
nOutChars
[in] specifying the maximum number of characters to be received.
szInput
[in] of Latin-1 characters to be converted.

Returns (VBA/C)

If successful, the return value is a positive number indicating the number of (single-byte) characters in the output string, or number of characters required if nOutChars is set to zero; otherwise it returns a negative error code.

.NET Equivalent

Not applicable in .NET.

Remarks

Example

See Also

[Contents] [Index]

[PREV: CNV_ShortPathName...]   [Contents]   [Index]   
   [NEXT: CNV_UTF8BytesFromLatin1...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.