Source for winucase.c

Jeff Layton jlayton at
Fri Oct 18 04:43:05 MDT 2013

On Fri, 18 Oct 2013 02:04:29 +0100
Ben Hutchings <ben at> wrote:

> fs/cifs/winucase.c is commented as:
>  * The const tables in this file were converted from the following info
>  * provided by Microsoft:
>  *
>  * Mapping UTF-16 Strings to Upper Case:
>  *
>  *
>  *
>  *
>  * In particular, the table in "Windows 8 Upper Case Mapping Table.txt" was
>  * post-processed using the script.
> Isn't "Windows 8 Upper Case Mapping Table.txt" then the preferred form
> for modification of the tables?  In which case, it should be included in
> the kernel sources.
> Also, shouldn't this file acknowledge Microsoft's copyright, if it's a
> derivative work of their file?
> Ben.

(cc'ing samba-technical and Bradley Kuhn in the hopes that he can help

Good questions. I'm not certain on either point. When I queried the MS
folks about the licensing on that file, they said:

"I discovered the content you used is in fact referenced by the
 MS-UCODEREF document, in section   Windows Sorting Weight
 Table. I discussed with the appropriate folks here, and for use in
 Samba it's certainly covered under Samba's existing PFIF license."

Bradley, any thoughts as to Ben's questions?

Jeff Layton <jlayton at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list