hackclub / sprig

🍃 Learn to code by making games in a JavaScript web-based game editor.

Home Page:https://sprig.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect characters being displayed with `addText()`

DillonB07 opened this issue · comments

Describe the bug
When using addText() with the pipe operator, |, ö is displayed instead.

Whilst I discovered this with |, it's also an issue for other symbols such as ~, ± and §. These are shown respectively in the bottom screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Make a Sprig project.
  2. Use addText() with |
  3. Run the game
  4. See ö displayed

Expected behavior
The correct character to be displayed.

Actual behavior
A different character displayed.

Screenshots
If applicable, add screenshots to help explain your problem.
image
| being displayed
image
~, ± and § being displayed

commented

is it just my phone or are the provided screenshots corrupted? imageimage