def subj_encode string
      puts string.each_char.size
      string.each_char.map do |p|
        HOMOGLYPHS[p] ? HOMOGLYPHS[p] : p
      end.reduce(:+)
    end
def subj_encode string
      puts string.each_char.size
      string.each_char.map do |p|
        HOMOGLYPHS[p] ? HOMOGLYPHS[p] : p
      end.reduce(:+)
    end
Encode Russian UTF-8 chars to similar English chars (for compactness)