> If you have an 8.3 name that contains non-ascii unicode characters is it
> returned in the directory listing?
>
> Joyce
Hi Joyce,
I can see these "rules":
If the given pattern matches the 8.3 short name everything is working.
In this case it doesn't matter if the filename contains unicode
characters or not.
If the given pattern matches "behind" 8.3 it works when the filename
does not contain unicode-characters, it does not work with unicode
characters.
You can see this behaviour in this example:
H:\temp\TEST\8.3>dir
Datenträger in Laufwerk H: ist volumes
Volumeseriennummer: 75D1-D7F8
Verzeichnis von H:\temp\TEST\8.3
11.04.2012 14:07 <DIR> .
12.12.2011 16:57 <DIR> ..
11.04.2012 14:07 0 X_Y-longname.txt
11.04.2012 14:07 0 longname-Ä_Ü.txt
11.04.2012 14:06 0 Ä_Ü-longname.txt
11.04.2012 14:06 0 Ä_Ü.txt
11.04.2012 14:06 0 X_Y.txt
11.04.2012 14:07 0 longname-X_Y.txt
6 Datei(en), 0 Bytes
2 Verzeichnis(se), 432.321.776.128 Bytes frei
H:\temp\TEST\8.3>
H:\temp\TEST\8.3>dir *_*.*
Datenträger in Laufwerk H: ist volumes
Volumeseriennummer: 75D1-D7F8
Verzeichnis von H:\temp\TEST\8.3
11.04.2012 14:07 0 X_Y-longname.txt
11.04.2012 14:06 0 Ä_Ü-longname.txt
11.04.2012 14:06 0 Ä_Ü.txt
11.04.2012 14:06 0 X_Y.txt
11.04.2012 14:07 0 longname-X_Y.txt
5 Datei(en), 0 Bytes
0 Verzeichnis(se), 432.321.243.648 Bytes frei
- the Ä_Ü.txt is matching because the _ is found in 8.3
- the longname-X_Y.txt is matching because it does not contain
unicode-characters
- the longname-Ä_Ü.txt should match but it is missing
Martin
_______________________________________________
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss