Share

AcString::utf8Ptr

C++

const char * utf8Ptr() const;

Description

Gets a pointer to the current string as Unicode Utf-8.

Returns

A pointer to a null-terminated Utf-8 string.

Remarks

The pointer is valid until setEmpty or move assignment.

Note: Pointer is created during this call and not updated if the string changes.

Links

AcString

Previous Declaration

ACBASE_PORT const char * utf8Ptr() const;

Was this information helpful?