Hi!

I am writing a console application, but, i having a problem with
encoding. If i write a message with non-us characters (áéíóãõç), i get
'????'

I change the current cultureinfo, but, no success...

my code:

using System;

namespace teste
{
   public class teste
   {
       public static void Main(string[] args)
       {
           System.Threading.Thread.CurrentThread.CurrentCulture = new
System.Globalization.CultureInfo("pt-BR");
           Console.WriteLine("teste éééííó");
       }
   }
}

Note: i am using remoting in my project.... the object is serialized, and
international characteres are replaced to '???'... it´s a bug in mono or in
my brain?

Thank´s for any help


--
Ivan
:wq!
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to