You are here: C++ API > Functions > dtssUtf8Decode Function
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtssUtf8Decode Function

File: dtsearch.h

Syntax
C++
long DLLFUNC dtssUtf8Decode(wchar_t * dest, long destLen, const char * source, long sourceLen, long flags);
Parameters
Description
wchar_t * dest
Buffer to receive Unicode text
long destLen
Size of dest buffer, in characters
const char * source
UTF-8 text to convert
long sourceLen
Number of UTF-8 characters to convert
long flags
Not used

Length of the output string, in characters

Convert UTF-8 to Unicode (deprecated: use dtssUtf8Decode2)

Copyright (c) 1995-2022 dtSearch Corp. All rights reserved.