StringIO#set_encoding should set the encoding to default external when passed nil
Merge pull request #679 from atambo/stringio_set_encoding_nil

StringIO#set_encoding should set the encoding to default external when passed nil