[Mono-list] mono and cyrillic symbols

Slava Petrenko slava at z.org.ua
Thu Jul 14 12:33:21 EDT 2005


A Rafael D Teixeira wrote:
>Probably your file is in utf-8 or any encoding other than
>iso-8859-1/windows-1252 encoding, so you need to tell mcs the encoding
>your sources are.
>
>for utf-8 it is something like
>
>mcs -codepage:utf8 mysource.cs ...
>
>:)
>  
thanx, it works correct now.
is there some kind of an option for mono to set a default encoding for 
each source?

i've got the same problem with encoding for asp.net aspx pages. all 
cyrillic symbols are like displayed below program output.
so, searching for encoding problem solving led me to that sample program.

>On Thu, 2005-07-14 at 16:36 +0300, Slava Petrenko wrote:
>  
>>Hi all,
>>
>>I've got simple programm:
>>
>>using System;
>>using System.IO;
>>
>>public class Server
>>{
>>public static int Main (string [] args)
>>{
>>System.Console.Write( "КУКУКУ\n" );
>>return 0;
>>}
>>}
>>
>>
>>that code is supposed to output a string "КУКУКУ\n" to console, but it 
>>outputs "ÐУÐУÐУ".
>>
>>that's wrong with that stuff?
>>
>>
>>Slava.
>>_______________________________________________
>>Mono-list maillist  -  Mono-list at lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>E-mail classificado pelo Identificador de Spam Inteligente Terra.
>>Para alterar a categoria classificada, visite
>>http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=rafael.teixeirabr&_l=1,1121348309.345691.12473.cabue.terra.com.br,3250,Des15,Des15
>>
>>Esta mensagem foi verificada pelo E-mail Protegido Terra.
>>Scan engine: McAfee VirusScan / Atualizado em 13/07/2005 / Verso: 4.4.00 - Dat 4534
>>Proteja o seu e-mail Terra: http://mail.terra.com.br/
>>
>>    
>
>  



More information about the Mono-list mailing list