pedrovgs / Shot

Screenshot testing library for Android
Apache License 2.0
1.18k stars 116 forks source link

Ensure UTF-8 Charset for Verification HTML #341

Closed slinstacart closed 1 year ago

slinstacart commented 1 year ago

The emojis used in the verification template such as "❌" and "✅" are not rendered properly if the default charset of the OS is not UTF-8, ie a Windows machine may default to "Windows-1252" charset where the emojis aren't rendered. This is avoided by just specifying the charset in the meta tag in the HTML directly

pedrovgs commented 1 year ago

Thanks @slinstacart 😃