but i don't know the from encoding
I think you can't do much harm by just trying 'UTF-8' as the from encoding :)
$filename = decode("UTF-8", $filename);
When your file names are in fact in UTF-8, things will likely work out fine. Otherwise, you'll know they aren't UTF-8 encoded, and you can try some other encoding...
In reply to Re^3: encoding of file names
by almut
in thread encoding of file names
by amir_e_a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |