-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files.jsee are not seen as text by @github #2
Comments
I made a post in github.community about it in 2017: https://github.community/t5/How-to-use-Git-and-GitHub/files-jsee-JavaScript-but-Binary-file-not-shown/m-p/608 I noticed someone else with same question in 2019: https://github.community/t5/GitHub-Pages/Source-files-shown-as-binary-files/m-p/35456 The answer says Try creating a |
Same for |
I don't think it will work but I'm trying the suggestion from https://github.community/t/source-files-shown-as-binary-files/10792/2?u=jesus2099 for #2.
It does not work:
|
😱 Wow it's even worse! Git corrupts UTF-16 files, completely! |
EmEditor macro.jsee files are UTF-16LE with Signature* But Git corrupts UTF-16 files (#2) EmEditor seems to more or less accept that I force this macro file to UTF-8 with Signature* * Signature = byte order mark = BOM Without it, EmEditor corrupts the macro BTW it's great because it will allow Git diff to work OK #2
WOW! Here is maybe why my UTF-16 LE files were corrupted by Git (I've been using both Windows and Linux on my repo):
(I don't know what is Perforce, though) But I have of course deactivated |
If you've never used Perforce, you've never used git-p4 and my patch is completely unrelated to whatever problem you are experiencing.
|
Yes I was reading that git-p4.py file and began to understand it had nothing to do with my use. 😉 Thanks for taking the time, letting me know, too! |
Oh great! I can actually just see files correctly in GitHub and copy code, then paste in the jsee file that I resave as UTF-8 with BOM. |
Example 807bc1f where it says Binary file not shown. instead of showing text diff (files.jsee are JavaScript text files).
The text was updated successfully, but these errors were encountered: