Closed dimpalambient closed 6 months ago
I can reproduce this. For debugging, this is the report JSON that fails to render in PSI https://googlechrome.github.io/lighthouse/viewer/?gist=119fd68aab627c9481910fed9f48bf24
Locally I get this error when trying to convert the JSON into proto:
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud83e' in position 76: surrogates not allowed
This is an interesting situation because this string happens cuts off in the middle of a surrogate pair:
Explorez le monde fascinant des dinosaures avec notre sélection exclusive ! \ud83e...
If the string was cut off on character later this problem wouldn't happen. Nevertheless, PSI should not break in this type of situation, we should just find a way to handle this.
This is not from our truncation. We use an ellipse for truncation, not ...
. The actual HTML element has an invalid utf-16 string, which we aren't handling.
FAQ
URL
https://tangrammontessori.site/
What happened?
Getting error while checking Page Speed.
What did you expect?
A Report
What have you tried?
https://pagespeed.web.dev/analysis/http-tangrammontessori-site/kvkrh86eqs?form_factor=desktop
How were you running Lighthouse?
PageSpeed Insights
Lighthouse Version
11.50.0
Chrome Version
No response
Node Version
No response
OS
No response
Relevant log output