mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #369] Display remains white when I use % as a character #2984
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gitpower2017 on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/369
Hello.
As soon as I want to send the character % as json.
e.g. 55% humidity. The display remains blank.
Must a >> % << be specially protected.
@nlimper commented on GitHub (Sep 5, 2024):
For the json string, the normal encoding applies (like
"->\"). But on top of that: how do you send the json to the AP? If you craft your own HTTP POST call, note that you have to use the proper escape sequences for the POST parameters. Inapplication/x-www-form-urlencodedcontent, that's the percent encoding: https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding.If that's not your situation, please provide an example, and describe how to reproduce.