Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
2590c134
Commit
2590c134
authored
Feb 25, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
Feb 25, 2015
Browse files
Fixes
#3586
added a fallback on utf8 version of locales
parent
d3228ea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_plugin.inc
View file @
2590c134
...
...
@@ -577,7 +577,7 @@ class plugin
$localesaved
=
setlocale
(
LC_CTYPE
,
0
);
$ret
=
array
();
foreach
(
$args
as
$arg
)
{
setlocale
(
LC_CTYPE
,
$arg
);
setlocale
(
LC_CTYPE
,
array
(
$arg
,
"
$arg
.UTF8"
)
);
$ret
[]
=
iconv
(
'UTF8'
,
'ASCII//TRANSLIT'
,
$str
);
}
setlocale
(
LC_CTYPE
,
$localesaved
);
...
...
are
@are
mentioned in issue
#1195 (closed)
·
Sep 02, 2017
mentioned in issue
#1195 (closed)
mentioned in issue #1195
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment