OSDN Git Service
(root)
/
ethna
/
ethna.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8f139
)
fixed: setlocale is called without sysntem encoding in Eethna_I18N::setLanguage
author
Sotaro Karasawa
<sotaro.k@gmail.com>
Fri, 14 Aug 2009 18:35:11 +0000
(
03:35
+0900)
committer
Sotaro Karasawa
<sotaro.k@gmail.com>
Fri, 14 Aug 2009 18:35:11 +0000
(
03:35
+0900)
class/Ethna_I18N.php
patch
|
blob
|
history
diff --git
a/class/Ethna_I18N.php
b/class/Ethna_I18N.php
index
53e5931
..
3e7f05b
100644
(file)
--- a/
class/Ethna_I18N.php
+++ b/
class/Ethna_I18N.php
@@
-132,7
+132,7
@@
class Ethna_I18N
*/
function setLanguage($locale, $systemencoding = null, $clientencoding = null)
{
- setlocale(LC_ALL, $locale);
+ setlocale(LC_ALL, $locale
. ($systemencoding !== null ? "." . $systemencoding : "")
);
if ($this->use_gettext) {
bind_textdomain_codeset($locale, $clientencoding);