The best place to look is in fs/fat/dir.c: uni16_to_x8(). This routine
assume you have an nls_table available with the appropriate character
set to convert the Unicode16 characters to. The loading of a particular
character set is done by fs/fat/inode.c: read_super().
If you instead want to just convert to UTF8, you can use
utf_wcstombs() instead. vfat and Joliet support using either UTF8 or
other character sets such as the ISO charsets.
- Gordon
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu