In general, the invention relates to supporting multiple different
character encodings in the same file system. In one embodiment, a method
is provided for filename lookup that supports multiple character
encodings. The method comprises storing filename data in a first
character encoding into an indexed data structure. The method further
comprises receiving filename data in a second encoding. The method also
comprises looking up filename data in the indexed data structure using
the second encoding.