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
fix(utils): handle Unicode characters in serializeProperty (#6654)
Replace btoa/atob with Unicode-safe base64 encoding/decoding functions
to properly handle non-Latin1 characters (emoji, CJK, €, etc.) during
SSR hydration.
The btoa() function only accepts Latin1 characters (code points 0-255)
and throws InvalidCharacterError on Unicode content. This fix uses
TextEncoder/TextDecoder with UTF-8 encoding to properly handle all
Unicode characters.
fixes: #6643
0 commit comments