@deftypefun {char *} {stringprep_utf8_to_locale} (const char * @var{str}) @var{str}: input zero terminated string. Convert string encoded in UTF-8 into the locale's character set by using @code{stringprep_convert()}. @strong{Return value:} Returns newly allocated zero-terminated string which is @code{str} transcoded into the locale's character set. @end deftypefun