Yeah, it appears that diff cannot appropriately parse Unicode filenames. I tested this quite a bit and discovered that diff can distinguish filenames if
* they are different lengths or * they have ASCII characters that are different (or in different locations). Otherwise it fails. Simple case: $ ls -R .: 1 2 ./1: セ ./2: ホ $diff 1 2 diff 1/セ 2/ホ 1,2c1,2 < File in dir 1 called: < セ --- > File in dir 2 called: > ホ Whereas, it should behave equivalently to: $ls -R .: 1 2 ./1: セ1 ./2: ホ2 $diff 1 2 Only in 1: セ1 Only in 2: ホ2 ** Changed in: diffutils (Ubuntu) Status: Incomplete => Confirmed -- diff is confused by japanese filenames https://bugs.launchpad.net/bugs/130553 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs