Skip to content

Error with reading emojis when initialization from bash #17

@grigaut

Description

@grigaut

When starting initialization in git bash :

Traceback (most recent call last):
  File "C:\Users\gr\AppData\Local\Temp\tmp7e0oznq6.py", line 45, in <module>
    print(f"\U0001F525{Fore.BLUE} Sucessfully created from template!\U0001F525")
  File "C:\Users\gr\.pyenv\pyenv-win\versions\3.12.0\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 '\U0001f525' in position 0: character maps to <undefined>
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    MakefileRelated to the MakefilebugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions