default_external=

Encoding.default_external = enc
Class Public methods

Sets default external encoding. You should not set ::default_external in ruby code as strings created before changing the value may have a different encoding from strings created after the value was changed., instead you should use ruby -E to invoke ruby with the correct default_external.

See ::default_external for information on how the default external encoding is used.

doc_ruby_on_rails
2015-04-04 21:12:12
Comments
Leave a Comment

Please login to continue.