Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(office): decode redlining diffs as UTF-8
  • Loading branch information
00200200 committed Sep 14, 2026
commit 0f297bbc665d9327e06ae76a0021cde09be07d40
2 changes: 2 additions & 0 deletions skills/docx/scripts/office/validators/redlining.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def _get_git_word_diff(self, original_text, modified_text):
],
capture_output=True,
text=True,
encoding="utf-8",
)

if result.stdout.strip():
Expand Down Expand Up @@ -230,6 +231,7 @@ def _get_git_word_diff(self, original_text, modified_text):
],
capture_output=True,
text=True,
encoding="utf-8",
)

if result.stdout.strip():
Expand Down
2 changes: 2 additions & 0 deletions skills/pptx/scripts/office/validators/redlining.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def _get_git_word_diff(self, original_text, modified_text):
],
capture_output=True,
text=True,
encoding="utf-8",
)

if result.stdout.strip():
Expand Down Expand Up @@ -230,6 +231,7 @@ def _get_git_word_diff(self, original_text, modified_text):
],
capture_output=True,
text=True,
encoding="utf-8",
)

if result.stdout.strip():
Expand Down
2 changes: 2 additions & 0 deletions skills/xlsx/scripts/office/validators/redlining.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def _get_git_word_diff(self, original_text, modified_text):
],
capture_output=True,
text=True,
encoding="utf-8",
)

if result.stdout.strip():
Expand Down Expand Up @@ -230,6 +231,7 @@ def _get_git_word_diff(self, original_text, modified_text):
],
capture_output=True,
text=True,
encoding="utf-8",
)

if result.stdout.strip():
Expand Down