Rails: How to downcase non-English string? August 26, 2023 by Tarik str = "Привет" str.mb_chars.downcase.to_s #=> "привет"