ActiveSupport::Multibyte::Chars

class ActiveSupport::Multibyte::Chars

Parent:
Object
Included modules:

Chars enables you to work transparently with UTF-8 encoding in the Ruby String class without having extensive knowledge about the encoding. A Chars object accepts a string upon initialization and proxies String methods in an encoding safe manner. All the normal String methods are also implemented on the proxy.

String methods are proxied through the 登录查看完整内容