Scenario: - FreeBSD stable/15 at 6146c5962e5c - LANG environment variable set to C.UTF-8 - No LC_* environment variable set - The filesystem (ZFS) is using UTF-8 character encoding for filenames - Running md5 -r копия.doc Result: - The following is output: 0123456789abcdef0123456789abcdef \320\272\320\276\320\277\320\270\321\217.doc Expected result: - The following should be output: 0123456789abcdef0123456789abcdef копия.doc Note: - In /usr/src/sbin/md5/md5.c, the function "safename()" is used to mangle filenames. This should be replaced by a saner check which also considers international characters based on the environment settings for LANG and LC_*. -- Martin
Fix submitted in D57562