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

Encoding fails in email #3

Open
mast76 opened this issue Feb 24, 2021 · 1 comment
Open

Encoding fails in email #3

mast76 opened this issue Feb 24, 2021 · 1 comment

Comments

@mast76
Copy link

mast76 commented Feb 24, 2021

The page encoding on the Hubitat seems to be UTF-8.
When you send an email with "LGK Sendmail V2" with non us-ascii letters e.g. "æ ø å". They are not shown correctly in the generated email.
I suggest you change line 436
from
, 'Content-Type: text/plain; charset="us-ascii"'
to
, 'Content-Type: text/plain; charset="utf-8"'
alternative change the charset to a configurable value.

Thanks, for a good extension, nice work. :)

@lgkahn
Copy link
Owner

lgkahn commented Feb 24, 2021 via email

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