You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for this great library!
I have issues with encoding in python.
When I write russian word test into console it should pass the test, but it don't work well.
I also test just without nodemon and it works
test_str="тест"inputed_str=input()
iftest_str==inputed_str:
print("test passed")
else:
print(f"test_str is: {inputed_str}, expected: {test_str}")
write nodemon test.py
insert тест into command line
press enter
do it again but just with python
Expected behaviour
js-everywhere@DESKTOP-AUFNKKJ MINGW64 ~/3D Objects/projects/text_correlation
$ nodemon test.py
[nodemon] 3.0.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: py,json
[nodemon] starting `python test.py`
тест
test passed
NOT expected behaviour
$ nodemon test.py
[nodemon] 3.0.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: py,json
[nodemon] starting `python test.py`
тест
test_str is: теÑ�Ñ‚, expected: тест
[nodemon] clean exit - waiting for changes before restart
If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up.
Thank you for contributing <3
@wennerryle I suspect this is actually a terminal encoding problem - I ran the code on my Mac (appreciate it's a different system) and it works as expected:
I'm on a different minor version to you, but I'm fairly sure the version of nodemon won't make a difference and it's actually the OS + terminal that needs to be configured to a consistent character encoding. However, I've no idea how you configure Windows + gitshell + vscode.
If it helps, nodemon is reading the stream as UTF-8 - if you can try to configure your vscode terminal to use that and see how you get on.
Closing as this doesn't appear to be a nodemon specific issue.
Thank you very much for this great library!
I have issues with encoding in python.
When I write russian word test into console it should pass the test, but it don't work well.
I also test just without nodemon and it works
Steps to create this behaviour:
nodemon test.py
тест
into command lineExpected behaviour
NOT expected behaviour
If applicable, please append the
--dump
flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.Dump is there:
The text was updated successfully, but these errors were encountered: