Skip to content
This repository has been archived by the owner on Mar 4, 2018. It is now read-only.

UnicodeEncodeError: 'charmap' codec can't encode character '\u02d8' #425

Open
Martinfx opened this issue Jun 6, 2017 · 3 comments
Open
Labels
Milestone

Comments

@Martinfx
Copy link

Martinfx commented Jun 6, 2017

Hello i have problem with save file with source code.

17:54:55:709::ERROR::7880::pyqode.backend::something went bad with worker <function lint at 0x05385BB8>(data={'max_line_length': 79, 'encoding': 'cp1252', 'code': '    

17:54:55:712::ERROR::7880::pyqode.backend::Traceback (most recent call last):
17:54:55:712::ERROR::7880::pyqode.backend::  File "d:\users\colin\documents\pyqode.core\pyqode\core\backend\server.py", line 136, in _handle
17:54:55:712::ERROR::7880::pyqode.backend::  File "open_cobol_ide\linter.py", line 75, in lint
17:54:55:712::ERROR::7880::pyqode.backend::  File "c:\python\32-bit\3.4\lib\encodings\cp1252.py", line 19, in encode
17:54:55:713::ERROR::7880::pyqode.backend::UnicodeEncodeError: 'charmap' codec can't encode character '\u02d8' in position 28703: character maps to <undefined>

  • Operating System: Windows 7
  • OpenCobolIDE: 4.7.6
  • GnuCOBOL: cobc (GnuCOBOL) 2.0.0
  • Qt: 5.5.1
  • PyQt: 5.5.1
  • pyqode.core: 2.11.0
  • pyqode.cobol: 2.11.0
  • pyqode.qt: 2.10.0
  • pygments: 2.1.3
  • QDarkStyle: 2.3.0
@ColinDuquesnoy
Copy link
Contributor

I'll need more information:

@ColinDuquesnoy ColinDuquesnoy added this to the 4.7.7 milestone Jun 8, 2017
@ColinDuquesnoy ColinDuquesnoy self-assigned this Jun 8, 2017
@Martinfx
Copy link
Author

Martinfx commented Jun 19, 2017

This is verbose log with error, this bug is broken polish characters.
Coding page in editor was 1252 windows (Western)

@ColinDuquesnoy
Copy link
Contributor

Thank you. I'll investigate this issue when I'll have some free time for OCIDE (which might take a while).

@ColinDuquesnoy ColinDuquesnoy removed their assignment Nov 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants