Skip to content

Can't load emogis from chapter_setup.py #2

@AnaStasiaS-S

Description

@AnaStasiaS-S

Windows OS
python 3.10
sys.stdin.encoding -> 'cp1252'
sys.stdout.encoding -> 'UTF-8'

I have a problem with loading chapter_setup.py because of emojis in my opinion.
The error says
UnicodeEncodeError: 'charmap' codec can't encode characters in position 3-4: character maps to undefined

When I delete all the emojis from the file, script is running successfully.
Could you please help me how to fix the issue?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions