XFileSharing Free - Supporting Arabic Issue

Posts: 13
Joined: May 14, 2008 6:53 pm

Supporting Arabic Issue

#1 Postby mkkak » Jun 05, 2008 11:43 pm

is there any way to manage the issue of supporting arabic file names
because the script only output the name in ths toe ways example :

http://www.usharer.com/JQRVPKRBAUMN/__1 ... _1569_.iso



So what can we do to make the script read the clear arabic files to be like this as example :


also in description field the same proplem

User avatar
Posts: 2183
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jun 06, 2008 6:20 am

This is a bit complicated, but let's try this:
1) in unpload.cgi comment this line:

Code: Select all


2) in DataBase.pm find

Code: Select all

$self->{dbh}=DBI->connect("DBI:mysql:database=$c->{'db_name'};host=$c->{'db_host'}",$c->{'db_login'},$c->{'db_passwd'}) || die ("Can't connect to Mysql server.".$! );

and add below:

Code: Select all

$self->Exec("SET NAMES 'utf8' COLLATE 'utf8_general_ci'");

Now probably this will work :)

Posts: 13
Joined: May 14, 2008 6:53 pm

#3 Postby mkkak » Jun 08, 2008 2:18 pm

for sorrow it not working ..
the same result..

Return to “XFileSharing Free”

Who is online

Users browsing this forum: No registered users and 0 guests