Textarea unicode problem in IE8 and MVC2

1

I'm having trouble in a textarea field.

I have a field textarea the client type in this field inserts ç ã àèìáéí, in the perfect textarea, in js it is also ok, but when I retrieve in the controller the textarea field,

This only happens with IE8, Chrome and firefox is ok.

Does anyone know how to solve this?

    
asked by anonymous 21.11.2014 / 12:24

1 answer

0

Check the "character set" of both the server and the page being generated. They should be the same, for example, utf8. If they are not the same you will have problems.

On your page, for example, you should have a line like this:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Or if you are using windows, the keyboard when opening IE may be set to use another pattern.

    
11.12.2014 / 10:04