* docs/grub.texi (Filesystems): Mention SFS as Latin1 filesystem.
* grub-core/fs/sfs.c (grub_sfs_mount): Fix a memory leak while on it. (grub_sfs_iterate_dir): Convert Latin1 to UTF8. Stylistic and performance fixes while on it. (grub_sfs_close): Fix memory leak while on it. (grub_sfs_label): Convert Latin1 to UTF-8.
This commit is contained in:
parent
f50e11653e
commit
ec000eaca9
3 changed files with 52 additions and 16 deletions
|
@ -3940,14 +3940,14 @@ ISO9660 (plain and RockRidge), nilfs2, UFS1, UFS2 and ZFS are assumed
|
|||
to be UTF-8. This might be false on systems configured with legacy charset
|
||||
but as long as the charset used is superset of ASCII you should be able to
|
||||
access ASCII-named files. And it's recommended to configure your system to use
|
||||
UTF-8 to access the filesystem, convmv may help with migration. AFFS and HFS
|
||||
never use unicode and GRUB assumes them to be in Latin1 and MacRoman
|
||||
respectively. GRUB handles filesystem case-insensitivity however no attempt
|
||||
is performed at case conversion of international characters so e.g. a file
|
||||
named lowercase greek alpha is treated as different from the one named
|
||||
as uppercase alpha. The filesystems in questions are NTFS (except POSIX
|
||||
namespace), HFS+ (by default), FAT, exFAT
|
||||
and ZFS (configurable on per-subvolume basis by property ``casesensitivity'',
|
||||
UTF-8 to access the filesystem, convmv may help with migration. AFFS, SFS
|
||||
and HFS never use unicode and GRUB assumes them to be in Latin1, Latin1
|
||||
and MacRoman respectively. GRUB handles filesystem case-insensitivity however
|
||||
no attempt is performed at case conversion of international characters
|
||||
so e.g. a file named lowercase greek alpha is treated as different from
|
||||
the one named as uppercase alpha. The filesystems in questions are
|
||||
NTFS (except POSIX namespace), HFS+ (by default), FAT, exFAT and
|
||||
ZFS (configurable on per-subvolume basis by property ``casesensitivity'',
|
||||
default sensitive). On ZFS subvolumes marked as case insensitive files
|
||||
containing lowercase international characters are inaccessible.
|
||||
Also like all supported filesystems except HFS+ and ZFS (configurable on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue