method

tidy_byte

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte::Unicode
tidy_byte(byte) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/multibyte/unicode.rb, line 377
      def tidy_byte(byte)
        if byte < 160
          [database.cp1252[byte] || byte].pack("U").unpack("C*")
        elsif byte < 192
          [194, byte]
        else
          [195, byte - 64]
        end
      end
Register or log in to add new notes.