Powershell Module Manifest file (.psd1) are detected as binary instead of text. (BB-6714)

Olivier Foissac avatarOlivier Foissac created an issue

In the detailed commit window, we can not see the diff for a .psd1 file (Message "Binary file modified"), .psd1 are text file : http://msdn.microsoft.com/en-us/library/windows/desktop/dd878337%28v=vs.85%29.aspx

This is a very, very minor issue :)

Edit : it seems the problem is in fact with unicode encoding, like describe in #5648

Comments (7)

  1. Avner Silberman

    This applies to .ps1 files as well. I think this is pretty serious, as for windows development a lot of scripts are now in powershell as opposed to .cmd or .bat.

    Seriously though - how hard is it to get these treated like any other source file? Surely this is configuration and not a code change?

    Would appreciate some feedback on any plans to fix this.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.