Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 16:40:55 GMT
From:      anonymous <anonymous@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188697: [patch] multimedia/mplayer fix UTF-8
Message-ID:  <201404161640.s3GGetb9028185@cgiserv.freebsd.org>
Resent-Message-ID: <201404161650.s3GGo0sC028887@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188697
>Category:       ports
>Synopsis:       [patch] multimedia/mplayer fix UTF-8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 16:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     anonymous
>Release:        
>Organization:
>Environment:
>Description:
Nether "C.UTF-8" or "en_US.utf8" locale exists on FreeBSD.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- libvo/x11_common.c	2013-10-16 17:07:12.000000000 -0700
+++ libvo/x11_common.c	2014-04-16 09:15:27.888658589 -0700
@@ -430,7 +430,7 @@
     }
 
     // Required so that XLookupString returns UTF-8
-    if (!setlocale(LC_CTYPE, "C.UTF-8") && !setlocale(LC_CTYPE, "en_US.utf8"))
+    if (!setlocale(LC_CTYPE, "en_US.UTF-8"))
         mp_msg(MSGT_VO, MSGL_WARN, "Could not find a UTF-8 locale, some keys will not be handled.\n");
     XSetErrorHandler(x11_errorhandler);
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404161640.s3GGetb9028185>