[Mono-list] mcs + CP1251

Gonzalo Paniagua Javier gonzalo.lists@ximian.com
Wed, 26 May 2004 22:50:11 +0200


El mié, 26-05-2004 a las 19:24, bopm escribió:
> Sorry, wrong file ;)

Please, reply to the same thread that you started.

The file you attached is encoded with Little-endian UTF-16 Unicode and
has no markers, so gedit/gvim cannot edit it and mcs cannot read it.

However, the codepage for UTF-16 is 1200. So you can do:

mcs -r:System.Data.dll -r:System.Drawing.dll -r:System.Web.dll
-t:library -codepage:1200 Rotator.ascx.cs

and it will compile.

-Gonzalo