module

ActiveSupport::Multibyte

No documentation available for this module.

Constants

VALID_CHARACTER = {\n# Borrowed from the Kconv library by Shinji KONO - (also as seen on the W3C site)\n'UTF-8' => /\\A(?:\n[\\x00-\\x7f] |\n[\\xc2-\\xdf] [\\x80-\\xbf] |\n\\xe0 [\\xa0-\\xbf] [\\x80-\\xbf] |\n[\\xe1-\\xef] [\\x80-\\xbf] [\\x80-\\xbf] |\n\\xf0 [\\x90-\\xbf] [\\x80-\\xbf] [\\x80-\\xbf] |\n[\\xf1-\\xf3] [\\x80-\\xbf] [\\x80-\\xbf] [\\x80-\\xbf] |\n\\xf4 [\\x80-\\x8f] [\\x80-\\xbf] [\\x80-\\xbf])\\z /xn,\n# Quick check for valid Shift-JIS characters, disregards the odd-even pairing\n'Shift_JIS' => /\\A(?:\n[\\x00-\\x7e\\xa1-\\xdf] |\n[\\x81-\\x9f\\xe0-\\xef] [\\x40-\\x7e\\x80-\\x9e\\x9f-\\xfc])\\z /xn\n}

Files

  • activesupport/bin/generate_tables
  • activesupport/lib/active_support/multibyte.rb
  • activesupport/lib/active_support/multibyte/chars.rb
  • activesupport/lib/active_support/multibyte/exceptions.rb
  • activesupport/lib/active_support/multibyte/unicode.rb
  • activesupport/lib/active_support/multibyte/utils.rb

Nested classes and modules