Textarea Unicode problem in IE8 and MVC2

Asked

Viewed 61 times

1

I’m having trouble in a textarea field.

I have a textarea field the client type in this field inserts ç àèìáí, in the perfect textarea, in js also this ok, but when the controller rescues the textarea field, all special characters are with ?

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

someone knows how to fix this?

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’re not the same, you’ll be in trouble.

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 using windows, the keyboard, when opening IE may be set to use another pattern.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.