Skip to content

The Unicode character œ does not render in LibRocket #7156

@MjnMixael

Description

@MjnMixael

Discovered while localizing BtA, the font used for BtA in SCPUI (SquarishSans) includes U+0153 and displays it correctly in external font viewers. Other non-ASCII characters (e.g. é, æ) render correctly in the same UI context. However, the character œ consistently fails to render when included in strings. This is getting way outside my knowledge of fonts and utf-8, but I think œ is outside the normal Latin-1 range which suggests that UI strings may be treated as single-byte characters at some point in the libRocket text pipeline causing multi-byte UTF-8 sequences to be corrupted.

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