# Help! Invalid character in IE

**URL:** <https://www.ruby-forum.com/t/help-invalid-character-in-ie/184250>\
**Category:** Rails\
**Created:** [February 27, 2010, 6:08am UTC](https://www.ruby-forum.com/t/help-invalid-character-in-ie/184250 "2010-02-27T06:08:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [February 27, 2010, 6:08am UTC](https://www.ruby-forum.com/t/help-invalid-character-in-ie/184250/1 "2010-02-27T06:08:15Z")

</div>

Hi, folks,

I have been wrestling with this for a couple of days now. Everything  
works great on all browsers except IE!

IE keeps giving errors like “Invalid character …line 2 character 1”  
when an AJAX call is submitted.  
The call will succeed and the page will be updated correctly, but  
always generates the annoying error!

I have set the character set to ‘utf-8’ and set the response header to  
‘utf-8’ as well, so there is no character set mismatch here.

Anybody had similar problems before can give me some help?

Thanks in advance!

John

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [February 27, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/help-invalid-character-in-ie/184250/2 "2010-02-27T15:11:53Z")

</div>

interesting… sample code please?

can we see the AJAX call?

Can you submit from IE with different parameters that will avoid the  
error  
message?

On 27 February 2010 00:06, John S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have set the character set to ‘utf-8’ and set the response header to  
> “Ruby on Rails: Talk” group.  
> To post to this group, send email to removed\_email\_address@domain.invalid.  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
Charles A. Lopez  
removed\_email\_address@domain.invalid

What’s your vision for your organization?  
What’s your biggest challenge?

Let’s talk.  
(IBM Partner)
