Ruby downcase method doesn't apply to multibyte chars unless you call mb_chars before downcase, even for 1.9+