CryptoSys PKI Pro Manual

CNV_CheckUTF8

Checks if a string only contains valid UTF-8 characters.
@deprecated Use CNV_CheckUTF8Bytes() instead.

VBA/VB6 Syntax

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

nLen = CNV_CheckUTF8(strInput)

C/C++ Syntax

long __stdcall CNV_CheckUTF8(const char *szInput);

Parameters

szInput
[in] to be checked.

Returns (VBA/C)

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.

C++ (STL) Equivalent

static int dipki::Cnv::CheckUTF8 (const bvec_t &bv)

Remarks

Example

See Also

[Contents] [Index]

[PREV: CNV_BytesFromHexStr...]   [Contents]   [Index]   
   [NEXT: CNV_CheckUTF8Bytes...]

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