CryptoSys PKI Toolkit Manual

CNV_CheckUTF8

Checks if a string only contains valid UTF-8 characters (deprecated).

VB6/VBA Syntax

Public Declare Function CNV_CheckUTF8 Lib "diCrPKI.dll" (ByVal strInput As String) As Long

nLen = CNV_CheckUTF8(strInput)

Parameters

strInput
[in] String to be checked.

C/C++ Syntax

long _stdcall CNV_CheckUTF8(const char *szInput);

Returns (VB6/C)

Long: Returns zero if the string is invalid UTF-8, or a positive number if the string is valid UTF-8.

.NET Equivalent

Not applicable in .NET.

Remarks

This function is deprecated. Use CNV_CheckUTF8Bytes instead.

Example

See Also

[Contents] [Index]

[HOME]   [NEXT: CNV_CheckUTF8Bytes...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.