Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Windows: Terminal encoding :wave: #1529

@iopapamanoglou

Description

@iopapamanoglou
2025-10-23 21:19:42.694 [info]   File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\typer\main.py", line 69, in except_hook
    _original_except_hook(exc_type, exc_value, tb)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\atopile\cli\excepthook.py", line 47, in handle_exception
    rich_print_robust(
    ~~~~~~~~~~~~~~~~~^
        "\n\nUnfortunately errors ^^^ stopped the build. "
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        ":wave:"
        ^^^^^^^^
    )
    ^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\faebryk\libs\logging.py", line 30, in rich_print_robust
    rich.print(Markdown(message) if markdown else message)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2025-10-23 21:19:42.694 [info]   File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\__init__.py", line 74, in print
    return write_console.print(*objects, sep=sep, end=end)
           ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\console.py", line 1697, in print
    with self:
         ^^^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\console.py", line 870, in __exit__
    self._exit_buffer()
    ~~~~~~~~~~~~~~~~~^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\console.py", line 826, in _exit_buffer
    self._check_buffer()
    ~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\console.py", line 2038, in _check_buffer
    self._write_buffer()
    ~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\console.py", line 2074, in _write_buffer
    legacy_windows_render(buffer, LegacyWindowsTerm(self.file))
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\_windows_renderer.py", line 19, in legacy_windows_render
    term.write_text(text)
    ~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\jaaya\AppData\Roaming\uv\tools\atopile\Lib\site-packages\rich\_win32_console.py", line 402, in write_text
    self.write(text)
    ~~~~~~~~~~^^^^^^
  File "C:\Users\jaaya\AppData\Roaming\uv\python\cpython-3.13.2-windows-x86_64-none\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 '\U0001f44b' in position 1: character maps to <undefined>

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