Hello, Jan Schneider schrieb: > This won't work of course, because you can't read local files with JavaScript.
This is what I had feared. So, I think the best solution would be: - Provide a Charset field next to the file-selection widget for the user to specify the encoding of the file he chooses for uploading; - if the user chooses a text file and a charset, tag the attachment so; optionally, warn if the uploaded file contains illegal data w.r.t. the charset chosen; - if the user chooses a text file, but leaves the Charset default value ‘unknown’ alone, try to guess the charset, as discussed earlier in this thread; - if the user chooses a non-text file, ignore the value of the Charset field. Best wishes, Otto Stolz -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]
