[Mono-list] Non ASCII characters in file names
Jörg Rosenkranz
joergr@voelcker.com
Wed, 10 Sep 2003 17:50:10 +0200
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