Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gitinfo fails on unicode filename #3071
Just for fun I added a movie reference, while it works for hugo server run, it fails when I build the output be it locally or on wercker.
Adding it to git works but I noticed git status did list it as "content/\317\200.md"
Another example of weird file names is
While my case is more fun than anything else, this may also have an effect to other unicode characters like chinese filenames, cyrillic filenames, ... that use unicode.
Searching for unicode in filenames issues, seems like many projects fail on that but there should be some way to enhance hugolib/gitinfo.go to actually handle them correctly.
Yes I'm on OSX 10.10.5 and on wercker it runs on a Debian box.
The reason I ask about the
So, given a Git repo:
So, this is an issue that lives outside of Hugo.
Thanks @bep that was the issue, I searched for a solution on the wrong side.