Fix Runner Log window Chinese and Latin encoding chars on Windows
See original GitHub issueThis is a split from #1892 where the major issue is the garbled output in Output window. As it is now, that Output is OK, but not the Log window.
Actually, the output starts by being OK, but then other test makes it change. See here the text:
20190825 21:45:13.873 : INFO : Slept 5 seconds
20190825 21:45:13.873 : INFO : This is normal log: simplified Chinese: 汉语
Ending test: Chinese 窺ãâé.Chinese Tést.simplified Chinese: 汉语
Starting test: Chinese 窺ãâé.Chinese Tést.Another € testº
20190825 21:45:13.873 : INFO : ${options} = <selenium.webdriver.chrome.options.Options object at 0x0000027E2F48FDC8>
20190825 21:45:13.873 : INFO : Creating an instance of the Chrome WebDriver.
20190825 21:45:17.369 : INFO : &{mobile_emulation} = { deviceName=Galaxy S5 }
20190825 21:45:17.369 : INFO : Creating an instance of the Chrome WebDriver.
20190825 21:45:19.953 : INFO : Opening url 'https://www.google.com'
Ending test: Chinese 窺䣩.Chinese T괴.Another testڀ
We can see the test name is correctly logged at start (Starting test: Chinese 窺ãâé.Chinese Tést.Another € testº
, but then at end the characters are modified and originally shown as hexadecimal.
This is really a corner case of mixed encodings, and as it shows badly on the Log window but not on the Log.html, we leave this for someday 😃.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Chinese characters SOMETIMES not decoded properly in ...
Chinese characters SOMETIMES not decoded properly in Windows 10 · Press Windows key + X. · Click Control Panel. · Click Clock, Language,...
Read more >IntelliJ IDEA incorrect encoding in console output
My theory is that your java class file are using "windows-1251" encoding, and you need to set it "UTF-8". looks at the screenshots...
Read more >Make Windows correctly display characters from languages ...
Do applications in languages like Chinese, French, Spanish, Arabic or Russian have character display issues? Or Windows cannot correctly ...
Read more >How to fix PuTTY showing garbled characters? [closed]
With SecureCRT: Select Options -> Session Options -> Terminal -> Appearence -> Character encoding -> select: UTF-8. Hope help others like me! –...
Read more >Code Pages | Alteryx Help
A Code Page (also referred to as Character Set or Encoding) is a table ... ICU does not support the whole list of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for quick response. I am attaching a zip which consists of a test suite as .robot file and output from the command line in the form of a .txt file. Test.zip
I have no idea why
echo %PYTHONIOENCODING%
has the value of %PYTHONIOENCODING%, but when I run the code:I get the output:
And finally, the screenshot of RIDE:
Closing because can be tested on soon to be pre-released, v2.0b1.