iconv conversion wstring -> utf8

js1234
Posts: 18
Joined: Thu Jan 26, 2017 1:16 pm

iconv conversion wstring -> utf8

Postby js1234 » Wed May 31, 2017 1:16 pm

Im trying to use iconv functions to convert from wstring to UTF-8.

iconv_open("UTF-8","W_CHAR");

The compiler finds the header and the function. But the linker cant find it:
undefined reference to `iconv_open'

It seems it is not implemented yet.
Does anyone have other ideas how to convert from wstring to utf8 string? Any libraries that could work on esp32?

Who is online

Users browsing this forum: Bing [Bot] and 305 guests