[Mono-list] Encoding problem?

Ivan de Queiroz iqueiroz.go at gmail.com
Fri Jun 22 12:05:28 EDT 2007


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
            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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070622/5f401197/attachment.html 

More information about the Mono-list mailing list