Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

read files in utf8 (issue #28) #29

wants to merge 1 commit into


None yet
1 participant

jamuhl commented Aug 16, 2011

to get this to work on utf8 files git-fs.js line 243 must be changed:

 // Or load from the fs directly if requested.
  • fs.readFile(Path.join(workTree, path), 'binary', function (err, data) {
  • fs.readFile(Path.join(workTree, path), function (err, data) {
    if (err) {
    if (err.errno === process.ENOENT) {
    err.message += " " + JSON.stringify(path);

without this change in git-fs the application should still run but still no proper handling of ä,ö,ü,...

jamuhl commented Apr 14, 2012

8 months: time to close this one

@jamuhl jamuhl closed this Apr 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment