[Mono-devel-list] mono and cyrillic symbols
Alberto Avila
albertoavila at gmail.com
Fri Jul 15 09:05:04 EDT 2005
You are welcome, if you dont want to put that in every asp.net page
you could use the next configuration in web.config
<configuration>
<system.web>
<compilation>
<compilers>
<compiler language="C#;Csharp"
extension=".cs"
type="Microsoft.CSharp.CSharpCodeProvider,System"
compilerOptions="/codepage:utf8" />
</compilers>
</compilation>
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
</system.web>
</configuration>
Greets
On 7/15/05, Slava Petrenko <slava at z.org.ua> wrote:
> Alberto Avila wrote:
> >Did you tried with <%@Page language="C#" compilerOptions="/codepage:utf8" %>
> >
> >That should solve your problem
> >
> thanx, it helps too
> >Greets
> >
> >On 7/14/05, Slava Petrenko <slava at z.org.ua> wrote:
> >
> >>Anton Andreev wrote:
> >>
> >>>I am aslo intrested in your topic. Save the source as unicode and
> >>>recompile, try configurating the console.
> >>>
> >>>
> >>console and source is already utf8 encoded, i use suse 9.3
> >>by adding -codepage:utf8 command line argument to mcs i've already
> >>solved the problem,
> >>but i'm searching how to fix encoding on aspx pages for asp.net site,
> >>because pages don't get
> >>compiled and i have no any idea how to solve encoding errors :-(
> >>
> >>>
> >>>>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-devel-list mailing list
> >>>>Mono-devel-list at lists.ximian.com
> >>>>http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>_______________________________________________
> >>Mono-devel-list mailing list
> >>Mono-devel-list at lists.ximian.com
> >>http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>
> >>
> >
> >
> >
>
>
--
Alberto Avila
Desarrollador
More information about the Mono-devel-list
mailing list