Hi,
In message "[ruby-talk:16848] Re: national characters is strings"
on 01/06/25, ts <decoux / moulon.inra.fr> writes:
| My question is probably stupid, but I've not found how to change the
| default encoding ?
Because it's not there yet. (I told you it's a prototype ;-)
| For example all file names returned by the methods of Dir (or the result
| of ``) use this default encoding, but how can I say that is, for example,
| "latin1" ?
I think there would be
* global default encoding
* global default IO encoding
* global default String encoding
and encoding for things like `` value might use the global default
encoding. It's better to have specify encoding for each case. I have
no idea yet for how to specify the `` encoding explicitly.
matz.