Bjoern Hoehrmann wrote:
* Jonas Sicking wrote:
The only use case I've heard so far is the ability to request a
pure-ascii response. Or I guess more generally requesting an encoding
that only contains a specific subset of the unicode map. However I'm not
sure what value this gives over simply looping over responseText and
testing if all chars are in the desired subset.
I think testing won't get you very far as far as I understant the use
case here. If you have a text file with my name, one in US-ASCII with
"Bjoern" and one in ISO-8859-1 with "Björn", getting the latter would
mean you have to replace "ö" with "oe" in the script if you really
want the us-ascii transliteration.
I'm convinced :) This is a good enough use case that it'll override the
'shoot yourself in the foot' argument.
/ Jonas