Flowdock
method

tidy_byte

Importance_0
v3.0.9 - 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 376
      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.