On 16 Jan 2011, at 03:09, jaayer wrote:
> But as you can see, the matching is actually done by TextConverter and its
> class-side #defaultConverterClassForEncoding: method, which works by sending
> #encodingNames to all subclasses and testing the array returned to see if it
> includes the specified encoding name. If you browse Latin1TextConverter, the
> right class for the encoding you specified, and look at its #encodingNames
> message, you will see the array it returns does not include "ISO-8859-1":
> ^ #('latin-1' 'latin1') copy.
>
> Change it to this (note the lowercase):
> ^ #('latin-1' 'latin1' 'iso-8859-1') copy.
>
> and everything now works.
I had seen this as well in the past: this should be changed.
I think this is a safe change, it just adds an alternative name to an existing
encoding.
Sven