Actions
Bug #12294
closedString encoding methods rename
Bug #12294: String encoding methods rename
Description
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 -> to_utf16 toutf32 -> to_utf32 toutf8 -> to_utf8
Updated by baweaver (Brandon Weaver) over 9 years ago
- Description updated (diff)
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Status changed from Open to Rejected
Use String#encode.
Actions