Issue #5949 has been updated by Eric Hodel.


Florent, I altered your original submission to recommend against Encoding.default_external= and Encoding.default_internal= as they cause issues with inconsistent encodings (see the individual method documentation).  Also, please trim trailing whitespace.

I also fixed the typo and added the IO example requested by Markus
----------------------------------------
Bug #5949: Add documentation introduction for the Encoding class
https://bugs.ruby-lang.org/issues/5949

Author: Florent Guilleux
Status: Closed
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 
ruby -v: 1.9.3


Add documentation introduction for the Encoding class


-- 
http://bugs.ruby-lang.org/