Update iconvcharset.rb

Fix deprec issues.