zfs diff misprints unicode characters
Sorry if my explanation is confusing--character sets have never been by strong suit...
It seems that unicode characters are displayed incorrectly in
zfs diff output:
[root@smarty ~]# touch /opt/abcdéfg.txt [root@smarty ~]# zfs diff -HF zones/opt@snapshot M / /opt/ + F /opt/abcd\\37777777703\\37777777651fg.txt
\\37777777703\\37777777651 appears to be an octal-escaped equivalent of hex bytes
0xc3 0xa9, which in turn represents 'é' in UTF-8.
Instead, I would expect to see
\\303\\251 as the proper octal-escaped equivalent.
A similar issue was reported and fixed here: https://github.com/zfsonlinux/zfs/issues/1172.
For reference, I'm running a SmartOS build from 20131128T230213Z.