default_internal

Encoding.default_internal â enc
Class Public methods

Returns default internal encoding. Strings will be transcoded to the default internal encoding in the following places if the default internal encoding is not nil:

Additionally String#encode and String#encode! use the default internal encoding if no encoding is given.

The locale encoding (__ENCODING__), not ::default_internal, is used as the encoding of created strings.

::default_internal is initialized by the source file's internal_encoding or -E option.

doc_ruby_on_rails
2015-04-04 21:16:56
Comments
Leave a Comment

Please login to continue.