Web Wiz - Green Windows Web Hosting

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

Forum LockedSpecial Character Cancer: © becomes ©

 Post Reply Post Reply
Author
BobStein View Drop Down
Newbie
Newbie


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: Bournemouth
Status: Offline
Points: 9844
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

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.