international characters - 'charmap' codec can't decode byte #1947
radekborsky
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi guys,
i use gauge with python and i can't use utf-8 characters in the code.
if i put to whatever step implementation this:
print("ščřžščřý")
i got en error:
31-03-2021 16:52:49.194 [python] [ERROR] Failed to parse d:\tests\step_impl\api\languages_steps.py: 'charmap' codec can't decode byte 0x8d in position 511: character maps to <undefined>
it seems like it is not an issue of python or vscode, because if i put there:
Messages.write_message("ěščřžžýáíé=")
the test runs well and i can see in the report all characters depicted correctly.
do you think this is a bug, or just some bad settings?
win7
vscode 1.54.3
Gauge version: 1.1.7
getgauge 0.3.15
Python 3.8.8
python plugin version for getgaugue: python (0.3.15)
getgauge.gauge extenstion for vscode: v0.0.19
edit note:
hmm, it seems to be worse than i thought.
when there's
Messages.write_message("ěščřžžýáíé=")
within step implementation then i am not able to add any step to it.i got error:
request #22: gauge/putStubImpl: error while connecting to runner : rpc error: code = Unknown desc = Exception calling application: 'charmap' codec can't decode byte 0x8d in position 558: character maps to <undefined>
Beta Was this translation helpful? Give feedback.
All reactions