B
B
Bogdan2017-07-05 14:54:25
Ruby on Rails
Bogdan, 2017-07-05 14:54:25

Rais console and Rails runner use cyrillic?

Hello.
Win 10x64 Rails 5.1
1) How to rails consoleuse Cyrillic. Doesn't work on the standard command line, nor in PowerShell or Git Bash. You can neither enter nor copy the Cyrillic alphabet from the notepad.
2) And for example

rails runner "Branch.create( code: '12345', name: 'Тест Тест')"

Gives this result.
8cfa931fa9594337b742c464f33d79b8.png
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chronic 86, 2017-07-05
@chronic86

Trouble with encodings in Windows. Install a virtual machine or as a second * nix system and do not know sadness.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question