Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: Notepad: I'm seeing squares.

by Mutant (Priest)
on Nov 23, 2005 at 17:09 UTC ( [id://511179]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Notepad: I'm seeing squares.
in thread Notepad: I'm seeing squares.

Hmm.. that may not be the best way to do it. The user can choose whatever browser they want, and set things like encoding type, etc. which might cause you a lot of problems. A cleaner way to do it might be to use the 'Content-Disposition' header (try a Super Seach on this), which will prompt the browser to download the file automatically.

This may or may not solve your actual problem though. If you've viewed the file with a hex editor once it gets to windows, and it has the correct EOL sequence, then I can't see why notepad should be putting squares after it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://511179]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-26 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found