Skip to content

Fix UTF-8 Base64 decoding corruption in GitHub files#5283

Closed
Akshay10258 wants to merge 1 commit intojgraph:devfrom
Akshay10258:fix-utf8-base64-github-integration
Closed

Fix UTF-8 Base64 decoding corruption in GitHub files#5283
Akshay10258 wants to merge 1 commit intojgraph:devfrom
Akshay10258:fix-utf8-base64-github-integration

Conversation

@Akshay10258
Copy link
Copy Markdown

Fix Description

Fixes issue - #5255
Resolves UTF-8 character corruption in GitHub file loading by replacing naive Base64 decoding with UTF-8 aware decoding.

Testing

  • Verified fix using browser console testing.
  • Characters like 👨‍💻 now load correctly instead of showing corruption - ������.
  • Includes fallback for compatibility

Code Review Checklist

  • ✅ Implements intended functionality (UTF-8 fix)
  • ✅ Handles error scenarios (try-catch with fallback)
  • ✅ Follows existing code patterns
  • ✅ No performance impact (minimal overhead)
  • ✅ Maintains backward compatibility

alexanderLinear

This comment was marked as spam.

@jgraph jgraph deleted a comment from alexanderLinear Oct 20, 2025
@jgraph jgraph deleted a comment from yanjuling Feb 1, 2026
@davidjgraph
Copy link
Copy Markdown
Collaborator

Thanks for the suggestion. Unfortunately, this isn't the right place to fix the root of the problem, we've done that for the next release.

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.

3 participants