Web Wiz
Home
Home
Hosting Services
Hosting Services
Knowledgebase
Knowledgebase
Community and Support Forums
Support Forums
Customer Login
Customer Login

  New Posts New Posts RSS Feed - Special Character Cancer: © becomes ©
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web Wiz Web Hosting 30 Day Free Trial

Windows Hosting 30 Day Free Trial, with no obligation, on all our Windows Web and Reseller Hosting Packages.

For more information see our Windows Hosting 30 Day Free Trial page.

Special Character Cancer: © becomes ©

 Post Reply Post Reply
Author
BobStein View Drop Down
Newbie
Newbie
Avatar

Joined: 27 June 2011
Location: Lyme, NH
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobStein Quote  Post ReplyReply Direct Link To This Post Topic: Special Character Cancer: © becomes ©
    Posted: 27 June 2011 at 3:50am
Saving text with special characters was morphing it into all kinds of ugly extra things in an exponentially increasing sequence each time I saved.

0 saves: ©
1 saves: ©
2 saves: Ã￿©
3 saves: Ã￿ï¿¿Ã￿©
4 saves: Ã￿￿ï¿¿Ã￿ï¿¿Ã￿©

You get the idea.  The real cause may have something to do with character sets.  Maybe I'm not declaring them right somewhere?  I did manually insert this line in my HTML:

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

in place of the instructions saying to insert this line, which won't work cross-domain:

<!--#include file="RTE_configuration/browser_page_encoding_inc.asp" -->

The good news:  My solution in my PHP application was to pass the text through a UTF8 Decode.  No idea how to do this in ASP but in PHP it was:

$content = utf8_decode($content);

I did the above just before adding slashes in prep for making an SQL command.

The bad news:  Several characters still have issues however (enlarged for visibility):

  • mdash
  • “ ” fancy double quotes
  • bullet
I'm sure there are others.  They all turn into ? question marks when saving.  Maybe I'll sleuth that out someday.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 8039
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2011 at 8:47am
This is a character encoding issue.

The Web Wiz Rich text Editor is not intended as a standalone application instead it is intended to be used to turn the plain text areas of your own application in to WYSIWYG HTML Areas.

How your application handles page encoding is up to you, however you need to make sure that the page your form is on and your pages displaying the submitted content use the same character encoding.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



Become a Fan on Facebook Follow us on Twitter Web Wiz on Google+ Community Forums Web Wiz Blogs Web Wiz News
Company Information | Contact Web Wiz | Terms & Conditions | Privacy Policy

Prices exclude VAT unless otherwise stated - $, € prices shown as a guideline only
Web Wiz Ltd, Unit 10E Dawkins Road Ind. Est, Poole, Dorset, UK, BH15 4JD
Copyright ©2001-2012 Web Wiz - All rights reserved