Encoding.default_internal = enc or nil
Class Public methods
Sets default internal encoding or removes default internal encoding when
passed nil. You should not set ::default_internal in
ruby code as strings created before changing the value may have a different
encoding from strings created after the change. Instead you should use
ruby -E
to invoke ruby with the correct default_internal.
See ::default_internal for information on how the default internal encoding is used.
Please login to continue.