Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Corrupted characters in translations of cookie preferences #62

Open
KalleOlaviNiemitalo opened this issue May 12, 2020 · 3 comments
Open

Comments

@KalleOlaviNiemitalo
Copy link

In translations of the cookie preferences, some non-ASCII characters have become corrupted. For example, the Italian translation says "Cookies di targeting e pubblicit�" rather than "Cookies di targeting e pubblicità".

https://www.cookieconsent.com/releases/3.0.0/cookie-consent.js is OK but https://github.com/dotnet-foundation/website/raw/29ca44c0e64d20543970d3d8688d1438fba391f6/input/js/cookie-consent.3.0.0.js is corrupt: all 0xA0 bytes have been replaced with 0x20. This breaks UTF-8 encodings such as 0xC3 0xA0 ("à" U+00E0), 0xCE 0xA0 ("Π" U+03A0), and 0xD0 0xA0 ("Р" U+0420).

@KalleOlaviNiemitalo
Copy link
Author

This bug is still reproducible.

@KalleOlaviNiemitalo
Copy link
Author

image

@KalleOlaviNiemitalo
Copy link
Author

How is https://github.com/dotnet-foundation/website/blob/29ca44c0e64d20543970d3d8688d1438fba391f6/input/js/cookie-consent.3.0.0.js licensed; is it covered by the MIT license, or is it even illegal to host locally? I can't find that in the Cookie Consent FAQs.

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

No branches or pull requests

1 participant