Hello,

We are failing to create files with non ASCII characters in their name
using Mono functions. They are created with scrambled names.

Following example:

// ---------------- 8< ------------------ >8 ---------------------
using System;
using System.IO;

namespace Test
{
        public class Test
        {
                public static void Main()
                {
                        using ( StreamWriter wr = File.CreateText("Testäöü.txt") )
                        {
                                wr.WriteLine("Test");
                        }
                }
        }
}
// ---------------- 8< ------------------ >8 ---------------------

The created filename looks like Testäöü.txt

When we create the file on the command line using

        echo Test > Testäöü.txt

all works fine. Are there any Mono config options which affect this behaviour
or is this a bug?

Thanks,
Jörg
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to