On 23.07.2010 15:15, Schwab,Wilhelm K wrote: > No dialogs, please :) Actually, it would be fine if there were a different > stream class or simply a different method/state (encoding =#userInteraction > or something??) that is understood to negotiate such details with "the user." > In general, exception is the correct way to handle this: the stream "knows" > what is wrong; the application will know what to make of it. If the encoding > can be detected automatically, that would be great.
There is no way to do this. The only thing that can be determined is that something is not utf-8. The stream did that reliably. But you said you already know the encoding, so just set in on the stream and it should work. > Firefox tells me that the encoding is ISO-8859-1; ISO-8859-1 and ISO-8859-15 are not the same. Cheers Philippe _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
