Skip to content

fix: handle UTF-8 split across SSE chunks - #135

Merged
PsiACE merged 1 commit into
agentclientprotocol:mainfrom
Excelius-Wang:fix/sse-utf8-chunk-boundaries
Aug 23, 2026
Merged

fix: handle UTF-8 split across SSE chunks#135
PsiACE merged 1 commit into
agentclientprotocol:mainfrom
Excelius-Wang:fix/sse-utf8-chunk-boundaries

Conversation

@Excelius-Wang

Copy link
Copy Markdown
Contributor

Summary

  • decode SSE byte chunks incrementally so multibyte UTF-8 characters can span chunk boundaries
  • add a regression test for a Chinese character split between chunks

Testing

  • make check
  • make test (201 passed, 1 skipped)

@PsiACE
PsiACE merged commit ce23c4a into agentclientprotocol:main Aug 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants