[Mono-aspnet-list] Problem with charsets configuration

Carlos Eduardo L. Lopes carloslopes at pollares.com
Wed Feb 17 14:11:14 EST 2010


Hi,

i'm migrating my projects from VS2008 to MonoDevelop and everything works
fine, excepts the charsets configuration that causes errors when i
debug/test my applications in the xsp2 server.

I tried many possibilities and forms (following what is in the FAQ) to make
my code run in MonoDevelop, but the same problem happens. 

When i write some word with accentuation in code-behind (like 'usuários' or
'requisições'), for example: to pass a text to a label. If the text is 'Olá
Usuários', it is rendered 'Ol� Usu�rios'. :confused:

Here is parts of my actual web.config (if you want i can post it here):

...
<globalization requestEncoding="utf-8" responseEncoding="utf-8"
fileEncoding="iso-8859-1" culture="pt-BR" />
...
<system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs"
type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
        <providerOption name="CompilerVersion" value="v3.5" />
        <providerOption name="WarnAsError" value="false" />
      </compiler>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
        <providerOption name="CompilerVersion" value="v3.5" />
        <providerOption name="OptionInfer" value="true" />
        <providerOption name="WarnAsError" value="false" />
      </compiler>
    </compilers>
  </system.codedom>
...

Anyone know how can i fix this issue?

Thanks all!
-- 
View this message in context: http://n4.nabble.com/Problem-with-charsets-configuration-tp1559183p1559183.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list