"Garrett D'Amore" <[email protected]> wrote: > On Mon, 2010-10-25 at 00:43 -0700, shilpa wrote: > > How would glob feature work, in case multibyte filenames are allowed? > > Because a multibyte character is a combination of more than one character, > > which includes glob characters like "{", "[".... > > I'm not sure how globbing would work, frankly. However, I believe UTF8 > and other common multibyte character schemes always have bytes with the > high-order bit set, so that there is never a multibyte character that > has component bytes that collide with ASCII. So this problem should be > a non-issue.
The assumption that multi-byte characters use octets with the high order bit set is only correct for so called stateless locales. Locales that use shift codes behave different. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
