Realtime code analysis stops working when non-ASCII characters are used in strings
See original GitHub issueHi everyone. Searched for the problem I’m about to report, and didn’t found anything. Please excuse me about any possible mistakes, as I’m not used to Github issue reporting.
Problem Description
Code highlighting and analysis suddenly stops as soon as you type any latin1 character inside the editor. Removing the character resumes the normal process.
(PLEASE NOTICE THE DIFFERENCE IN THE HIGHLIGHTED “ê”) As a Brazilian user (many ê, â, ã etc needs), this is somewhat frustrating.
Package Versions
- Spyder: 3.2.8
- Python: 3.6
- PyQt: 5.9.2
- Operating System: W10
Dependencies
IPython >=4.0 : 6.3.0 (OK)
cython >=0.21 : 0.28.2 (OK)
jedi >=0.9.0 : 0.11.1 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
numpy >=1.7 : 1.14.2 (OK)
pandas >=0.13.1 : None (NOK)
pycodestyle >=2.3: 2.3.1 (OK)
pyflakes >=0.6.0 : 1.6.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.8.3 (OK)
qtconsole >=4.2.0: 4.3.1 (OK)
rope >=0.9.4 : 0.10.7 (OK)
sphinx >=0.6.6 : 1.7.2 (OK)
sympy >=0.7.3 : None (NOK)
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to Fix Non-ASCII Characters in a URL - Sitechecker
Open the code editor. · Press Ctrl + F to run a Find or Search command. · Enter [^\x00-\x7F]+ in the search box....
Read more >Code Inspection: Non-ASCII characters | PhpStorm ... - JetBrains
Reports code elements that use non-ASCII symbols in an unusual context. ... Non-ASCII characters used in identifiers, strings, or comments.
Read more >Dealing with non-ASCII characters when parsing fixed-width ...
Identify all non-ASCII characters that could come up so that I can adjust the parsing. This is an issue because the data are...
Read more >Error "CHAR string contains invalid ASCII character" Occurs ...
Resolution. Option 1. Rename the generated name of the group and exclude Non-ASCII characters in Tableau Desktop. Option 2. Change the column ...
Read more >If a file name has non-ascii characters then code completion in ...
If a file name has non-ascii characters then code completion in the editor stops working · Issue #770 · spyder-ide/spyder · GitHub.
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
Yes, please.
@ccordoba12 we are already using
enconding.get_coding
here, should I change the behavior of the function to make possible the use of the chardet fallback directly and handle the expection here?