You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: The encoded data was not valid for encoding utf-8
at TextDecoder.decode (node:internal/encoding:443:16)
...
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async main (/.../shared/test/integrity/checkEncoding.js:33:3) {
code: 'ERR_ENCODING_INVALID_ENCODED_DATA'
}
It happens on specific values containing characters outside of [a-z], like æøå, but I'm not sure how to provide the actual string. Let me know if there's a technique I can use to convert the failing string to something portable.
How often does it reproduce? Is there a required condition?
It doesn't happen before version 22.7, have tested 22.6, 22.4, 22.0, 18 and 16 with the same data.
What is the expected behavior? Why is that the expected behavior?
No error should be thrown.
What do you see instead?
Error.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Version
22.7.0
Platform
Subsystem
No response
What steps will reproduce the bug?
Running this code where 'value' is a string from my database will throw an error.
The error looks like this:
It happens on specific values containing characters outside of [a-z], like æøå, but I'm not sure how to provide the actual string. Let me know if there's a technique I can use to convert the failing string to something portable.
How often does it reproduce? Is there a required condition?
It doesn't happen before version 22.7, have tested 22.6, 22.4, 22.0, 18 and 16 with the same data.
What is the expected behavior? Why is that the expected behavior?
No error should be thrown.
What do you see instead?
Error.
Additional information
No response
The text was updated successfully, but these errors were encountered: