[MonoDevelop] string charset bug ?

Török Gábor tori@alfanet.hu
Wed, 24 Nov 2004 20:27:14 +0100


I also tried with codepage:utf8, but no change. My source was utf8 encoded.
It seems that the compiler works well, the jit compiler does something
wrong.

Is there an option to mono which encoding should be used?

Gabor Torok

> -----Original Message-----
> From: monodevelop-list-admin@lists.ximian.com =
[mailto:monodevelop-list-
> admin@lists.ximian.com] On Behalf Of Rafael Teixeira
> Sent: Wednesday, November 24, 2004 6:43 PM
> To: Török Gábor
> Cc: monodevelop-list@lists.ximian.com
> Subject: Re: [MonoDevelop] string charset bug ?
> 
> Probably I'm still breaking up from sleep :( .
> 
> As you are in Debian sid, csc is just some alias to mcs, so use
> /codepage:utf8.
> 
> Cheers,
> 
> 
> On Wed, 24 Nov 2004 15:39:34 -0200, Rafael Teixeira =
<monoman@gmail.com>
> wrote:
> > To make it more clear: the /codepage:utf8 is a mcs specific option.
> >
> >
> >
> >
> > On Wed, 24 Nov 2004 15:38:15 -0200, Rafael Teixeira =
<monoman@gmail.com>
> wrote:
> > > In Which encoding did you save your source file?
> > >
> > > It seems like you saved in UTF-8 without the markers.
> > >
> > > So you need to pass the /codepage:utf8 option to compile that =
file.
> > > For csc you'll need to save it in UTF-8 with markers or in the
> > > windows-1252 encoding, for csc to try to autodetect correctly.
> > >
> > > Hope it helps,
> > >
> > >
> > >
> > >
> > > On Tue, 23 Nov 2004 23:54:46 +0100, Török Gábor =
<tori@alfanet.hu>
> wrote:
> > > >
> > > > Hi!
> > > >
> > > > I tried a hello world application on debian "sid" with mono =
1.0.2.
> > > >
> > > > The program:
> > > > ---
> > > > public class HelloWorld
> > > > {
> > > >         static void Main()
> > > >         {
> > > >                 System.Console.WriteLine("Hello World! =
árvízfúró
> > > > tükörfúrógép =
ÁRVÍZFÚRÓTÜKÖRFÚRÓGÉP");
> > > >         }
> > > > }
> > > > ---
> > > > The output is: Hello World! ?rv?zf?r? t?k?rf?r?g?p
> ?RV?ZF?R?T?K?RF?R?G?P
> > > >
> > > > I found some bugs like this on bugzilla, but they seemd to have =
been
> solved
> > > > already.
> > > >
> > > > I compiled my program with "mcs" and also with "csc", the result =
was
> the
> > > > same. The program worked correct on windows, and worked =
incorrect on
> linux.
> > > >
> > > > I tried a little asp.net application also with mono, and the =
result
> was the
> > > > same. There was "?" instead of the hungarian characters.
> > > >
> > > > What can be wrong? Can you help me?
> > > >
> > > > Thank you!
> > > >
> > > > Gabor Torok
> > > >
> > > > _______________________________________________
> > > > Monodevelop-list mailing list
> > > > Monodevelop-list@lists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > > >
> > >
> > >
> > > --
> > > Rafael "Monoman" Teixeira
> > > ---------------------------------------
> > > Just the 'crazy' me in a sane world, or would it be the reverse? I
> dunno...
> > >
> >
> > --
> > Rafael "Monoman" Teixeira
> > ---------------------------------------
> > Just the 'crazy' me in a sane world, or would it be the reverse? I
> dunno...
> >
> 
> 
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> Just the 'crazy' me in a sane world, or would it be the reverse? I
> dunno...
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list