• Rémi Denis-Courmont's avatar
    nl_langinfo is not thread-safe, avoid it · 9164192f
    Rémi Denis-Courmont authored
    This brings some useless overhead for native UTF-8 systems.
    Linux packagers may want to define ASSUME_UTF8 to avoid this problem.
    
    Also, this assumes that iconv_open() recognizes "" as the current
    character set (POSIX says nothing about valid iconv_open() parameters).
    9164192f
unicode.c 9.54 KB