caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
10.9k stars 384 forks source link

Investigate why posts are being encoded as latin-1 vs expected utf-8 #1110

Closed caronc closed 2 months ago

caronc commented 2 months ago

:mega: Notification Service(s) Impacted See here for original posted details

:lady_beetle: Describe the bug A normal post containing utf-8 encoded characters appear to be re-encoded to latin-1 which fails because the character set is very limited and can't covert all of the content being passed.

:bulb: Screenshots and Logs

:computer: Your System Details:

:crystal_ball: Additional context

caronc commented 2 months ago

This ticket still allowed the test suite in Apprise to get larger, but upon further verification, this is not an issue. All strings passed into the CustomPlugin wrapper are in utf-8. The issue with the current case appears to be a case where the user is leveraging additional code (within the Apprise Hook) which is converting the body to latin-1.

Preliminary investigation yields that the issue appears to be outside of the scope of Apprise itself.