Maksim Yevmenkin wrote:
can i use wcstombs(3) to convert a string presented in utf8 into
current locale? basically i'm looking for something like iconv from
ports but included into base system.
This isn't as easy as it should be, unfortunately.
First, UTF-8 is itself a multibyte encoding, so
Hello,
can i use wcstombs(3) to convert a string presented in utf8 into
current locale? basically i'm looking for something like iconv from
ports but included into base system.
in other words, would something like this work?
char *locale, dst[256];
size_t len;
locale = setlocale(LC_CTYPE, );
2 matches
Mail list logo