[Clipart] character coding

Stephen Silver ocalocal at btinternet.com
Tue Feb 8 10:15:48 PST 2005


Jonadab wrote:

> If there is an extra step it can take that will convert those
> form-entered metadata into UTF8, would that solve the problem?

Well, there appear to be two problems.  Form-entered metadata does need
to be converted to UTF-8, but that won't fix the problem of metadata in
the uploaded file somehow being converted to Latin-1.

I think you can probably cheat with the form-entered metadata by using

  accept-charset="UTF-8 US-ASCII"

in the <form> tag, then you should only receive UTF-8.  But very old
browsers may not know about accept-charset, and might send the data
in some other encoding.

By the way, if you click the W3C XHTML 1.0 link at the bottom of the
upload page, the validator finds some problems: <input> elements should
be empty, and the file should start with the XML declaration (rather
than a line feed).

-- 
Stephen Silver




More information about the clipart mailing list