Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF 8 conversion error #3

Open
stdx opened this issue Apr 26, 2024 · 1 comment
Open

UTF 8 conversion error #3

stdx opened this issue Apr 26, 2024 · 1 comment

Comments

@stdx
Copy link

stdx commented Apr 26, 2024

Traceback (most recent call last):
  File "...\dev\temp\src\main.py", line 39, in <module>
    logger.info("\nFinished process ✓")
  File ...p\confluence_export\venv\Lib\site-packages\froggius\logger.py", line 210, in info
    return self.information(log_msg, file_path, highlighting, print_out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "....mp\confluence_export\venv\Lib\site-packages\froggius\logger.py", line 195, in information
    log.write(
  File ....\python\current\Lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\u2713' in position 49: character maps to <undefined>

Seems like an UTF-8 conversion error. Please have a look.

@zlElo
Copy link
Owner

zlElo commented May 6, 2024

Actually, not a UTF-8 conversion error! It's a problem with the \n for a new line. I tested it with the latest stable version (0.1.7) and on my system it's working.

Greets 🍕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants