ai
ai copied to clipboard
Strange question marks �� in cyrillic symbols
Hi! Thanks for great lib. Screenshot from https://chat.vercel.ai:
It seems like an encoding issue, and it seems to appear only on Vercel deployment.
This is almost certainly because we're not using the stream
option on our TextDecoder
s, so it's processing a split UTF octet and treating it as invalid text.
Hi guys @jridgewell @shuding thanks for quick response but is seems issue is still present. Question marks still appear on https://chat.vercel.ai and in my product even after upgrade to new version with stream: true
fix.
Recent screenshot from https://chat.verce.ai: