method
default_external=
v1_9_3_392 -
Show latest stable
- Class:
Encoding
default_external=(p1)public
Sets default external encoding. You should not set Encoding::default_external in ruby code as strings created before changing the value may have a different encoding from strings created after thevalue was changed., instead you should use ruby -E to invoke ruby with the correct default_external.
See Encoding::default_external for information on how the default external encoding is used.