|
|
| |
1. Bug with accent char |
|
Reply |
|
|
 Cyberdisyan | 2009-12-02 13:20:41 |
Hi,
I have a folder with this 2 files :
104 Déclaration.pdf
Business Compact.pdf
When using the Samba Web Client i get this strange result:
104 D Business Compact.pdf
Do you have any idéa ?
|
| |
2. Re: Bug with accent char |
|
Reply |
|
|
 Ricardo Vergutz | 2009-12-19 12:52:50 - In reply to message 1 from Cyberdisyan |
This problem is php execute by default the command shell_exec with LOCALE=C.
I just added the following lines before shell_exec and the problem was solved:
$locale = 'pt_br.UTF-8';
setlocale(LC_ALL, $locale);
putenv('LC_ALL='.$locale);
and alter var $cfgDefaultCharset = 'UTF-8';
Just adapt it to your language locale.
|
|