GitHub Mobile renders .zip files as plain text instead of detecting binary files #187699
Unanswered
pedrodev2026
asked this question in
Mobile
Replies: 1 comment
-
|
Thanks for the feedback. I've created an issue internally to track this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When opening a .zip file in a repository using GitHub Mobile, the app attempts to render the file content as plain text instead of detecting it as a binary file.
This results in unreadable characters (e.g., ???????) being displayed in the integrated file viewer.
On GitHub Web, binary files such as .zip are correctly detected and not rendered as text. Instead, the UI displays a message like “Binary file not shown” and provides a download option.
Steps to Reproduce
Open a repository that contains a .zip file
Tap on the .zip file in GitHub Mobile
Observe that the file content is rendered as text
Expected Behavior
The app should detect that the file is binary and:
Display a message similar to GitHub Web (e.g., “Binary file not displayed”)
Offer a download option
Avoid attempting to render the file as text
Actual Behavior
The file is rendered as if it were a text file, resulting in unreadable characters and inconsistent behavior compared to GitHub Web.
Environment
Platform: Android
App Version: v1.246.0
Device Model: Xiaomi POCO X7 Pro
Beta Was this translation helpful? Give feedback.
All reactions