GUI lacks ability to specify ZFS "utf8only" option when creating file systems
Key details
Description
The FreeBSD zfs man page describes the 'utf8only' option:
"Indicates whether the file system should reject file names that include characters that are not present in the UTF-8 character code set. If this property is explicitly set to off, the normalization property must either not be explicitly set or be set to none. The default value for the utf8only property is off. This property cannot be changed after the file system is created."
Requiring only UTF-8 sounds very desirable, and I was surprised to not see it in the FreeNAS 11.2 GUI.
I don't know about anyone else, but why would I ever want a non-UTF-8 filename? How would a user interface even display such a file name? In hex? Considering all the problems with mere European diacriticals, to say nothing of Asian characters, I cannot imagine the kinds of problems that would occur with non-UTF-8 characters!
Given that it can't be changed after creation, it'd be really nice to have this in the GUI, otherwise one can't use the GUI at all to create.
In fact, I think you should also consider utf8only=on being the default.
The FreeBSD zfs man page describes the 'utf8only' option:
"Indicates whether the file system should reject file names that include characters that are not present in the UTF-8 character code set. If this property is explicitly set to off, the normalization property must either not be explicitly set or be set to none. The default value for the utf8only property is off. This property cannot be changed after the file system is created."
Requiring only UTF-8 sounds very desirable, and I was surprised to not see it in the FreeNAS 11.2 GUI.
I don't know about anyone else, but why would I ever want a non-UTF-8 filename? How would a user interface even display such a file name? In hex? Considering all the problems with mere European diacriticals, to say nothing of Asian characters, I cannot imagine the kinds of problems that would occur with non-UTF-8 characters!
Given that it can't be changed after creation, it'd be really nice to have this in the GUI, otherwise one can't use the GUI at all to create.
In fact, I think you should also consider utf8only=on being the default.
See also:
https://redmine.ixsystems.com/issues/54180