Hello!

Mike Gran <spk...@yahoo.com> writes:

> Setting a port's default encoding to Latin-1 doesn't work out so well in
> practice.  For example, ports are used as the backend of procedures like
> with-input-from-file and with-output-to-string.  Those procedures don't
> currently take any encoding information and presume some sort of default
> encoding.

Ooh, right.

> I prefer having a port inherit its default encoding from the last call
> to setlocale.

Inherit from the current locale, yes, that sounds preferable.

Thanks,
Ludo'.



Reply via email to