default_external

Encoding.default_external รข enc
Class Public methods

Returns default external encoding.

The default external encoding is used by default for strings created from the following locations:

While strings created from these locations will have this encoding, the encoding may not be valid. Be sure to check String#valid_encoding?.

File data written to disk will be transcoded to the default external encoding when written.

The default external encoding is initialized by the locale or -E option.

doc_ruby_on_rails
2015-04-04 21:06:37
Comments
Leave a Comment

Please login to continue.