Skip to content

Bad character encoding in snapshots #721

Answered by Robdel12
prsdta asked this question in Support
Discussion options

You must be logged in to vote

Hey @prsdta! Every time I've seen this it's due to a missing charset in the <head>. This should help: https://docs.percy.io/docs/debugging-sdks#bad-character-encoding

Since it's flakey, it's likely there's something in the app that's putting invalid HTML into the <head>. When that rerenders in Percy, the browser will "fix" it, by forcing it all out into the <body>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@prsdta
Comment options

@Robdel12
Comment options

Answer selected by prsdta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants