[interchange-bugs] [rt.icdevgroup.org #304] [Comment] Encode mime_name method missing in Encode < 2.21
Gert van der Spoel via RT
interchange-comment at rt.icdevgroup.org
Sun Aug 23 19:19:01 UTC 2009
This is a comment. It is not sent to the Requestor(s):
The code is there as the least complex and most accurate way to determine if the MV_HTTP_CHARSET value put in catalog.cfg is valid and if needed will be converted to the correct name.
This check was put in in February when you mentioned that it would be good to have a check during reconfig to check the validity of MV_HTTP_CHARSET (it had been put as MV_HTTP_CHARSET 1 instead of UTF-8 for example) ..
Initially it was returning $enc->name, but in the case of UTF-8 it does not return the correct value to use in the charset for the page ...
I guess a:
return 'UTF-8' if $enc->name eq "utf-8-strict";
could alleviate the pain for the 5.8.8 users?
More information about the interchange-bugs