Skip to content

Unicode printing problem (specifically xdot) #5816

@birgerro

Description

@birgerro

Some unicode characters, like ẋ (xdot), ẍ (xdotdot) and ẏ (ydot), show up correctly on screen, but are replaced with a squares when printing the included python file. Strangly enough, this does not happen all the time, but only on some lines.

xdot_test.pdf
Image
xdot_test.py

Actually, it seems ẋ prints correctly when there is a two-byte character z̈ (zdotdot, \u007a\u0308) on the same line, but is replaced by a square when z̈ is absent.

xdot_test2.pdf
xdot_test2.py

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions