I've just seen some poor code for a simple HTTP server doing:

  "Content-Type: text/html; charset=" + charset

which on the RI gives the expected:

  Content-Type: text/html; charset=ISO-8859-1

but on Harmony gives:

  Content-Type: text/html; charset=Charset[ISO-8859-1]

which is then incorrect/unhelpful at the HTTP client end.

Perhaps we should just make Charset.toString() return just
Charset.canonicalName without the prefix?

If there are no objections then I'll change this later.

Regards,
 Mark.

  


Reply via email to