blob: 7f97d26d90610afd6974bdd34d56a4ff59fb60f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.1 2007/06/10 21:54:07 minskim Exp $
http://kldp.net/tracker/?func=detail&atid=100023&aid=301276&group_id=23
--- scripts/ko-po-check.in.orig 2007-06-07 21:53:32.000000000 -0700
+++ scripts/ko-po-check.in
@@ -4,7 +4,8 @@
import sys
_setdefaultencoding = sys.setdefaultencoding
import site,locale
-_setdefaultencoding(locale.getdefaultlocale()[1])
+locale.setlocale(locale.LC_ALL, '')
+_setdefaultencoding(locale.getlocale()[1])
del _setdefaultencoding
import os,getopt
|