Why UTF-8 I can not use in Ruby code at Sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why UTF-8 I can not use in Ruby code at Sololearn?

`# encoding: UTF-8` is not working correctly! How it works?

29th Jul 2018, 7:10 AM
Vladimir Pavlychev
Vladimir Pavlychev - avatar
1 Answer
+ 2
Add the BOM to the first line and write in Cyrillic free. https://code.sololearn.com/c3ZoQNPg20tJ/
21st Aug 2018, 9:34 PM
𝕃𝕒𝕡𝕤𝕔𝕒𝕣
𝕃𝕒𝕡𝕤𝕔𝕒𝕣 - avatar