Russian text problem
TITAN-UZ opened this issue · 7 comments
TITAN-UZ commented
Hi!
How to fix russian text!
Set locale UTF8 does not help
TITAN-UZ commented
Not only I have a problem with it.
zverbeta commented
One option, need replace in filedownload.class.php on line 973
replace it
utf8_encode($baseName)
at this
(preg_match('!!u', $baseName)) ? $baseName : utf8_encode($baseName)
goldsky commented
What is !!u
?
zverbeta commented
This is trick check utf-8
from doc.
"This modifier turns on additional functionality of PCRE that is incompatible with Perl. Pattern and subject strings are treated as UTF-8."
SylarRaven commented
I have this problem with chinese text,
One option, need replace in filedownload.class.php on line 973
replace it
utf8_encode($baseName)
at this
(preg_match('!!u', $baseName)) ? $baseName : utf8_encode($baseName)
not work for me
goldsky commented