PDA

View Full Version : txt uploading loses texts


m3mary
08-01-2008, 11:50 PM
hello
im trying to add include txt in php pages in my site

include "txt1" ;

include "txt2" ;

include "txt3" ;

include "txt4" ;

include "txt100" ;

and so on

but i uploaded my txt files to server they loses txt formats after upload (arabic - but english ok) and this problem also happens when i upload php file have arabic texts - download it - reupload it - langauge lost (backup files lost!!)

hobbes
08-02-2008, 08:44 AM
Try uploading the files in bin (vs. text) format.

m3mary
08-02-2008, 03:47 PM
uploading txt's oK now using UTF-8 ecode on saving

the problem still on downloading (as backups for example) then loses texts after uploads, gives rabish..... php specially

also edit icon when i click on any php or txt file have arabic text, gives rabish