Re: incantation for uploading shift-jis files

2005-12-24 Thread John Delacour
At 1:45 am + 25/12/05, John Delacour wrote: The script is here, warts and all: NB. Safari doesn't treat it as as text file. FireFox, Opera, Omniweb display it properly as text. JD

Re: incantation for uploading shift-jis files

2005-12-24 Thread John Delacour
At 10:30 am +0900 25/12/05, Thilo Planz wrote: So you will have to auto-detect the encoding on the server-side or give the user a pulldown to select the file encoding (or support only Shift-JIS, which you might get away with in your case). Here's an example that deals with sjis text files an

Re: incantation for uploading shift-jis files

2005-12-24 Thread Thilo Planz
I think that the problem is that I have set the encoding (multi-part) for the post, but not for the file part, and I can't figure out how to set the encoding for the file part. I'm worried that I'm going to have to force a re-conversion within perl from some sort of automatic conversion done

Re: incantation for uploading shift-jis files

2005-12-24 Thread Jeff Lowrey
At 04:17 PM 12/24/2005, Joel Rees wrote: I think that the problem is that I have set the encoding (multi-part) for the post, but not for the file part, and I can't figure out how to set the encoding for the file part. Encoding is set as a MIME header on each MIME part - or can be. -jeff

Re: incantation for uploading shift-jis files

2005-12-24 Thread Joel Rees
On 2005.12.24, at 09:24 PM, John Delacour wrote: At 7:10 pm +0900 24/12/05, Joel Rees wrote: I've looked around on the web, and it looks like I'm playing with edge-of-the-world stuff and rather OS and browser dependent. The source I'm working with: http://reiisi.homedns.org/~joel/cs/ra

Re: incantation for uploading shift-jis files

2005-12-24 Thread John Delacour
At 7:10 pm +0900 24/12/05, Joel Rees wrote: I've looked around on the web, and it looks like I'm playing with edge-of-the-world stuff and rather OS and browser dependent. The source I'm working with: http://reiisi.homedns.org/~joel/cs/ranbunhyou/withfile2.text http://reiisi.homedns.or

incantation for uploading shift-jis files

2005-12-24 Thread Joel Rees
Anyone know? I've looked around on the web, and it looks like I'm playing with edge-of-the-world stuff and rather OS and browser dependent. The source I'm working with: http://reiisi.homedns.org/~joel/cs/ranbunhyou/withfile2.text http://reiisi.homedns.org/~joel/cs/ranbunhyou/requester