W
Wolfgang Meier
Hi,
I use a library (libphysfs) that calls std::strerror to return a
human-readable error message. According to the docs I read,
std::strerror will return this error message localized and encoded
according to LC_MESSAGES.
Patching the library is no option, so is there any portable way of
obtaining the error message encoded as UTF-8, e.g. by converting it?
Thanks in advance,
Wolf
I use a library (libphysfs) that calls std::strerror to return a
human-readable error message. According to the docs I read,
std::strerror will return this error message localized and encoded
according to LC_MESSAGES.
Patching the library is no option, so is there any portable way of
obtaining the error message encoded as UTF-8, e.g. by converting it?
Thanks in advance,
Wolf