Maris-S Posted August 26, 2008 Report Share Posted August 26, 2008 Kārtējo reizi problēma ir IE, ja tiek padots lejupielādei fails ar unicode simboliem (piemēram, krievu valodā), tad IE faila nosaukumu pārveido ar ķeburiem, mozilla bāzētos pārlūkos un operā viss normāli. Headeri ko es izmantoju ir sekojoši: $mm_type='application/octet-stream'; header('Content-type: application/force-download'); header('Cache-Control: public, must-revalidate'); header('Pragma: hack'); header('Content-Type: '.$mm_type); header('Content-Length: '.$file_size); header('Content-Disposition: attachment; filename="'.$file_name.'"'); header('Content-Transfer-Encoding: binary\n'); To vispār varētu kaut kā atrisināt vai ēzelis to unicodu save dialogā kā tādu nevarēs atpazīt? Link to comment Share on other sites More sharing options...
bubu Posted August 26, 2008 Report Share Posted August 26, 2008 Gūgle šodien joprojām strādā: http://www.google.com/search?q=Content-Dis...+explorer+utf-8 http://www.motobit.com/help/ScptUtl/pa97.htm Link to comment Share on other sites More sharing options...
Maris-S Posted August 28, 2008 Author Report Share Posted August 28, 2008 (edited) Bubu, paldies par linkiem, pašam nesanāca neko strādājošu atrast, skatīšos pēc Tavējiem... Edited August 28, 2008 by Maris-S Link to comment Share on other sites More sharing options...
Recommended Posts