Module: Locale::Driver::JRuby
Locale::Driver::JRuby module for JRuby Detect the user locales and the charset. This is a low-level class. Application shouldn‘t use this directly.
Public Instance Methods
charset ()
# File lib/locale/driver/jruby.rb, line 43 43: def charset 44: charset = ::Locale::Driver::Env.charset 45: unless charset 46: charset = java.nio.charset.Charset.defaultCharset.name 47: end 48: charset 49: end