Forum closed. New forum available at http://community.wymeditor.org/

special characters when saving in IE7

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

special characters when saving in IE7

Postby sumanth45 on Tue Apr 21, 2009 2:48 pm

Hi,

When i am trying to save the data edited by WYMeditor, it just adding some special characters to the saved data in IE6 and IE7.But the same is working fine in Mozilla.Can any body help me on this?


Ex:
When i added asdasd, it adding as follows
asdasdï·¯

-sumanth
sumanth45
 
Posts: 4
Joined: Tue Jan 27, 2009 11:38 am
Location: India

Re: special characters when saving in IE7

Postby mr_lundis on Wed Apr 22, 2009 10:45 am

Hi sumanth and welcome to the WYMeditor form!

I'm guessing that you're having some kind of encoding issues. If you're not telling the browser what charset to use (using the content-type header/meta tag) IE will start guessing, which sometimes gets quite ugly. Firefox will just fall back to the default.

If you are sending content-type headers, make sure you're using UTF-8 as your charset.

Cheers!
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden

Re: special characters when saving in IE7

Postby sumanth45 on Wed Apr 22, 2009 2:15 pm

Hi mr_lundis,

Thank you so much for the reply. I have added the metatag(<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />), but still same special characters are added while saving the data in IE6 and IE7.

-Sumanth
sumanth45
 
Posts: 4
Joined: Tue Jan 27, 2009 11:38 am
Location: India

Re: special characters when saving in IE7

Postby mr_lundis on Fri Apr 24, 2009 11:23 am

Are you sending any other headers from the server? Some server side scripting languages like PHP might do that some times, depending on the server configuration. Such headers will override what you're specifying in your meta tags.

If you cant figure things out, do you think you could set up a test page? That would make it a lot easier for us to help you!

Cheers!
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden

Re: special characters when saving in IE7

Postby sumanth45 on Thu Apr 30, 2009 10:33 am

Hi,

Hey sorry i am on vacation, so did not see this message.please see my answers inline.

Are you sending any other headers from the server? Some server side scripting languages like PHP might do that some times, depending on the server configuration. Such headers will override what you're specifying in your meta tags.

- If the headers are overridden by server,then how it's working for Mozilla.So does this happens only for IE?

If you cant figure things out, do you think you could set up a test page? That would make it a lot easier for us to help you!

-Do you need any other information other than test page.Actually we are using mod_perl enabled apache
server for our site.

Thanks
SUMANTH
sumanth45
 
Posts: 4
Joined: Tue Jan 27, 2009 11:38 am
Location: India

Re: special characters when saving in IE7

Postby sumanth45 on Wed May 06, 2009 11:00 am

Hey,

Even i tried by installing apache on my local machine. I created a page where i can submit my contents to the server , after submitting again go back to the previous page(the page before submitting) and tried to submit,then its adding the special characters(or try to load some content on wymeditor by default and add some text to it), I think this is a bug with the WYMeditor. I am really wondering why till now no once faced this issue!!

Thanks
Sumanth
sumanth45
 
Posts: 4
Joined: Tue Jan 27, 2009 11:38 am
Location: India

Re: special characters when saving in IE7

Postby mr_lundis on Tue Jun 02, 2009 11:02 am

Hi again, sorry for the late reply!

If you cant set up a test page, then try to install the Web Developer Toolbar addon for Firefox and check the response headers (Information > View Response Headers). If your server sends any content-encoding headers (which it should) you will see them there.

Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest