[Bug 26888] Wine limits file names to 255 bytes even on NTFS

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 23 09:01:28 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26888

--- Comment #4 from Jussi Judin <jjudin+wine at iki.fi> 2011-04-23 09:01:28 CDT ---
(In reply to comment #3)
> Neither Wine nor NTFS internally store file names in multibyte encodings,
> so you probably got misguided somewhere.

Wine doesn't clearly take multibyte characters into account but imposes a limit
that clearly comes from the file name length in bytes, not in something that is
imposed by file system. But claiming that NTFS doesn't take multibyte encodings
into account is completely wrong as Wikipedia
(https://secure.wikimedia.org/wikipedia/en/wiki/NTFS) states that NTFS limits
its file length to 255 UTF-16 code units, 1 code unit is 2 bytes => 510 bytes
(some of the 1 code unit characters can result in 3 byte strings with UTF-8
encoding). This usually results 255 character limit but if you use characters
that don't fit into basic multilingual plane, like

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list