| View previous topic :: View next topic |
| Author |
Message |
doowane
Joined: 30 Nov 2007 Posts: 6
|
Posted: Nov 30, 2007 7:05 pm Post subject: {Problem fixed} Arabic support in file name? |
|
|
Hello,
I just buy XfileSharing and installed without any problem.
Thank you for that product.
I have a litle problem when I upload a file with an arabic name I got strange characters...
Is it possible to have the arabic showing, or have the name renamed automatically?
Here a screen copy : http://netwane.net/print.png
Thank you.
Last edited by doowane on Dec 06, 2007 9:48 am; edited 1 time in total |
|
| Back to top |
|
 |
Files-Up
Joined: 25 Nov 2007 Posts: 17
|
Posted: Dec 03, 2007 4:27 am Post subject: |
|
|
Me too
i want this
or if u can remove non english characters from the link with .htacess/mod_rewrite |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Dec 04, 2007 11:00 am Post subject: |
|
|
2doowane: what was the link without domain name? What codepage do you use to display arabic symbols correctly?
2Files-Up: I can remove non-english chars when generating links or on Download page, or on both steps.
"Remove non-english chars from filename on Download page" hack:
in index.cgi find
| Code: | | $fname=~s/\.{2,99}/./g; |
and add below:
| Code: | | $fname=~s/[^a-z0-9\_\-\+\.\(\)\@\!\'\&]+//ig; |
|
|
| Back to top |
|
 |
doowane
Joined: 30 Nov 2007 Posts: 6
|
Posted: Dec 05, 2007 8:25 am Post subject: |
|
|
Hi
Thanks for your answer
It is working now
Just changed to Windows-1256 |
|
| Back to top |
|
 |
Files-Up
Joined: 25 Nov 2007 Posts: 17
|
Posted: Dec 08, 2007 6:02 pm Post subject: |
|
|
| PilgrimX182 wrote: | 2doowane: what was the link without domain name? What codepage do you use to display arabic symbols correctly?
2Files-Up: I can remove non-english chars when generating links or on Download page, or on both steps.
"Remove non-english chars from filename on Download page" hack:
in index.cgi find
| Code: | | $fname=~s/\.{2,99}/./g; |
and add below:
| Code: | | $fname=~s/[^a-z0-9\_\-\+\.\(\)\@\!\'\&]+//ig; |
|
this did not work man
see this link
ربيعالأسمر~&_Atilde - 1.0 Mb |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|