Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Bug with accent char
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Samba Web Client
>
All threads
>
Bug with accent char
>
(Un) Subscribe thread alerts
Subject:
Bug with accent char
Summary:
If using special char there is a little bug
Messages:
2
Author:
Cyberdisyan
Date:
2009-12-02 13:20:40
Update:
2009-12-19 12:52:50
1. Bug with accent char
Reply
Report abuse
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
Report abuse
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.
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger