Print Page | Close Window

Special characters

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=30558
Printed Date: 28 March 2026 at 9:23am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Special characters
Posted By: jupiter
Subject: Special characters
Date Posted: 26 November 2012 at 9:13pm
I'm using RTE 4.08. I can insert special characters in the edit window, save the result in a file, open it again in RTE and the characters are displayed just fine. I cannot - however - work out the settings to display the special characters outside of RTE, so when displaying the edited file directly in the browser. When using IE one can select the encoding via the right mouse button. Utf-8 is selected (as intended). Only if I select 'Western Europe' the characters are displayed correctly. Adding <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> to the file does not help. So I'm stuck and help would be highly appreciated. 
In trying to solve this problem, I also tried to use the HTML escape sequences (eg &euro; for the euro symbol). Funny thing is that these are directly replaced by the non-asci symbol for the euro, once the file is edited in RTE. Yet I cannot find the code responsible for this.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 27 November 2012 at 11:09am
You need to make sure that you set the correct page encoding within your HTML pages display the code created in the RTE.

The HTML produced is controlled by the web browser itself. For example the HTML produced by IE is nowhere are clean as that by Firefox or Chrome. It would be IE that converts HTML encoded characters. 


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jupiter
Date Posted: 28 November 2012 at 8:06pm
I'm using UTF-8 through the entire site, yet cannot display the €. Only when using IE and selecting (in the browser) Western ISO, the € is displayed. Isn't that strange? Otherwise I'm using Chrome and that did the replacement of &euro; in €


Posted By: jupiter
Date Posted: 28 November 2012 at 9:41pm
I'm getting the idea that this has nothing to do with RTE, but with the difference between reading a file with .asp and reading that file directly by the http server. And indeed: storing/reading the file as unicode solves the problem! But this immediately causes a new problem: the html files aren't editable anymore directly. Sigh..
 
Is there anybody using RTE with files stored on the files system (as opposed to in a database)? Any pointers how to do that with respect to special symbols?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net