fsmonitor: preserve utf8 filenames in fsmonitor-watchman log
[git/git.git] / t / t7519 / fsmonitor-watchman
index 51330f8..a3e30bf 100755 (executable)
@@ -129,6 +129,7 @@ sub launch_watchman {
            "Falling back to scanning...\n" if $o->{error};
 
        open ($fh, ">", ".git/watchman-output.out");
+       binmode $fh, ":utf8";
        print $fh @{$o->{files}};
        close $fh;