# File lib/friendly_id/slug_string.rb, line 177 def word_chars! @wrapped_string = normalize_utf8(:c).unpack("U*").map { |char| case char # control chars when 0..31 # punctuation; 45 is "-" (HYPHEN-MINUS) and allowed when 33..44 # more puncuation when 46..47 # more puncuation and other symbols when 58..64 # brackets and other symbols when 91..96 # braces, pipe, tilde, etc. when 123..191 else char end }.compact.pack("U*") end