Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decode JS interprets string contents as tokens #272

Open
eiowlta opened this issue Jul 15, 2022 · 1 comment
Open

Decode JS interprets string contents as tokens #272

eiowlta opened this issue Jul 15, 2022 · 1 comment

Comments

@eiowlta
Copy link

eiowlta commented Jul 15, 2022

I used the IDE to write the following code to a file. It works as intended on the device
g.reset().clear(); g.setFont('12x20').drawString("°",50,50);

When I use the storage to view the file and click "Decode JS", I assume it interprets the byte inside the string as a pretokenized token because I end up with:
g.reset().clear(); g.setFont('12x20').drawString("throw",50,50);

@gfwilliams
Copy link
Member

Ok, thanks! That's an odd one - I assumed we used the tokeniser, which should have avoided that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants