Project

General

Profile

Bug #12294

Updated by baweaver (Brandon Weaver) about 8 years ago

http://ruby-doc.org/stdlib-2.3.0/libdoc/nkf/rdoc/String.html 

 Most of the string encoding methods are named counter to the established pattern of other check and to_ methods. 

 Proposed changes: 

 ~~~ 
 iseuc      -> euc? 
 isjis      -> jis? 
 issjis     -> sjis? 
 toeuc      -> to_euc 
 tojus      -> to_jis 
 tolocale -> to_locale 
 tosjis     -> to_sjis 
 toutf16 touth16    -> to_utf16 
 toutf32 touth32    -> to_utf32 
 toutf8 touth8     -> to_utf8 
 ~~~

Back