S
sentzm
I am using O'Reilly's upload package for html form based uploading and
I came across an issue when I upload text files. The files are uploaded
sucessfully, but when I access the file through a link, such as
www.[domainname].com/uploads/testfile.txt the file is displayed in
binary:
Ž€€ÃÍ>ÄÈÑ?>€ÇÑÀÁË€ÈÇÁ€
øøÊ?Î/%€åÊ?Íø€Á_/Ñ%€ÄÇÁÄ,Â?Ì€ÃÊ?_€ÈÇÁ€Ã?Ê
How do I get text files to be displayed I guess in ASCII (plain
english!?!) so when the file is accessed through a web browser it
would display:
"This is a text file" and not the binary string shown above.
I noticed that in one of the MultipartRequest constructors in
O'Reilly's package, there is a String encoding argument. This might be
the answer to my question, but I am not exactly sure what the econding
String code should be.
Any ideas??
I came across an issue when I upload text files. The files are uploaded
sucessfully, but when I access the file through a link, such as
www.[domainname].com/uploads/testfile.txt the file is displayed in
binary:
Ž€€ÃÍ>ÄÈÑ?>€ÇÑÀÁË€ÈÇÁ€
øøÊ?Î/%€åÊ?Íø€Á_/Ñ%€ÄÇÁÄ,Â?Ì€ÃÊ?_€ÈÇÁ€Ã?Ê
How do I get text files to be displayed I guess in ASCII (plain
english!?!) so when the file is accessed through a web browser it
would display:
"This is a text file" and not the binary string shown above.
I noticed that in one of the MultipartRequest constructors in
O'Reilly's package, there is a String encoding argument. This might be
the answer to my question, but I am not exactly sure what the econding
String code should be.
Any ideas??