Skip to content

On Linux text with Emoji fails #401

Open
@finnp

Description

@finnp

Describe the bug
When using the text function with an emoji in it, everything prints correctly until the emoji appears, at which point execution stops, and the error message Invalid multi-byte sequence encountered is printed.

To Reproduce
Steps to reproduce the behavior:

Use the text function with a string that includes an emoji.
Observe that all text before the emoji is printed, but the process stops at the emoji.
The error message "Invalid multi-byte sequence encountered" is displayed.

Expected behavior
The full text, including the emoji, should be printed without interruption.

Environment (please complete the following information):

OS: Ubuntu 22.04 (Docker container)

The issue occurs consistently across different Linux distributions when using X11.
It seems to be related to handling multi-byte Unicode sequences.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions