mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[PR #670] [MERGED] Diff cell utf-8 truncation #700
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#700
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/670
Author: @cursor[bot]
Created: 2/20/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @rudrankriyam
Base:
feat/metadata-diff-586← Head:cursor/diff-cell-utf-8-truncation-3c73📝 Commits (2)
010a11eFix UTF-8-safe truncation in localization diff cellsfc08ed2fix: harden diff cell truncation and utf-8 coverage📊 Changes
2 files changed (+76 additions, -2 deletions)
View changed files
📝
internal/cli/diffcmd/localizations.go(+8 -2)➕
internal/cli/diffcmd/localizations_test.go(+68 -0)📄 Description
Summary
sanitizeDiffCellwhere byte-based string truncation could split multi-byte UTF-8 characters, resulting in garbled output. The truncation logic now operates on runes to ensure character integrity. A new test case has been added to validate this behavior.Validation
make formatmake lintmake test🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.