Project

General

Profile

audacious-3.5.2-utf8-fix.patch

CJ Kucera, January 14, 2015 02:43

View differences:

audacious-3.5.2/src/libaudcore/charset.c 2015-01-13 19:39:58.024499383 -0600
78 78
    if (g_get_charset (& charset))
79 79
    {
80 80
        /* locale is UTF-8 */
81
        if (! g_utf8_validate (str, len, NULL))
81
        if (! g_utf8_validate (str, len-1, NULL))
82 82
        {
83 83
            whine_locale (str, len, "from", "UTF-8");
84 84
            return NULL;