p3040029 Posted November 29, 2007 Share Posted November 29, 2007 I am trying 2 weeks now to make α form that can upload a file, with greek characters on its filenamε (example: "πατάτα.doc") but nothing. All i get is an upload file with weird/unreadble characters on its filename. WHAT I'VE TRYIED SO FAR: 1) HTML utf8 encoding on headers NOTE: I am not interested on 1-8859-7 charset(GREEK ISO), only UTF-8! THANKS!!!!! Quote Link to comment https://forums.phpfreaks.com/topic/79352-php-encoding-uploading-with-greek-characters-on-the-filename/ Share on other sites More sharing options...
unidox Posted November 29, 2007 Share Posted November 29, 2007 if using utf-8, i think it only supports url names, as in if you visit a site with an accent mark on a letter, it converts it to the original letter. Quote Link to comment https://forums.phpfreaks.com/topic/79352-php-encoding-uploading-with-greek-characters-on-the-filename/#findComment-401695 Share on other sites More sharing options...
MadTechie Posted November 29, 2007 Share Posted November 29, 2007 What OS are you running ? Windows filesystems (FAT, FAT32, NTFS) are not UTF-8 aware. Filenames are encoded in ISO-8859-1 or CP437/CP850/( or whatever suits your language) depending on filesystem and localisation. Many distributions of Linux are by default setup with an UTF-8 filesystem, but not all.. really we need more info and some test data Quote Link to comment https://forums.phpfreaks.com/topic/79352-php-encoding-uploading-with-greek-characters-on-the-filename/#findComment-401700 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.