Closed TITAN-UZ closed 8 years ago
will this work for you? https://github.com/goldsky/FileDownload-R/issues/8
Not only I have a problem with it.
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)
What is !!u
?
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."
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
Hi!
How to fix russian text!
Set locale UTF8 does not help