Background: I am programming in C# on .NET 2.0 on a Windows PC, XP SP3. I have an application where I am reading and writing unicode filenames. The problem seems to be that when I use Directory.GetFiles () or if I have a DirectoryInfo object di.getFiles() it will read back the unicode portion of the filenames as boxes. I do have the correct languages installed on my computer, and these show up just fine in windows explorer.
What am I missing? I can't seem to find an Encoding option in any of those FileInfo or DirectoryInfo like objects, nor any other way to read file names (have not yet gotten to writing). Ideas?
