This is a migrated thread and some comments may be shown as answers.

RadEditor Symbols

3 Answers 174 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 18 Jun 2008, 02:09 PM
Hello,

I am using the RadEditor tool in my web project.  I went to insert the copyright symbol(©) and when I saved the text to my database the circle around the 'c' disappeared.  Is there something I can do so this will not happen? Also, the table that the symbols are being shown in is cut off.  The last column of symbols can not be seen, which is also the case for this editor that I am typing my thread in.  I don't know why this is the case, but would appreciate it if you can enlighten me on what the cause is and how the problem can be solved.

Thanks

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Jun 2008, 02:15 PM
Hello Alan,

Up to the questions:
  1. Do you experience this problem only with the (©) symbol or you are able to reproduce it with any other symbols? Could you please, clear the Symbols dropdown of RadEditor and try to reproduce the problem again:
    RadEditor1.Symbols.Clear();
    RadEditor1.Symbols.Add("abcde");

    Please, also try to reproduce the problem using the Save In Database live example.
     
  2. You can easily increase the size of the Insert Symbols dropdown using the provided solution in the following help article: Resizing The Dropdown Header And Pop Up Size.
Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alan
Top achievements
Rank 1
answered on 01 Jul 2008, 07:25 PM
What unicode settings are set for the RadEditor tool?  I think this could be why I'm experiencing the problem that I'm getting because my database unicode settings are different from the RadEditor control.

Inform me please!
0
Rumen
Telerik team
answered on 02 Jul 2008, 01:05 PM
Hi Alan,

I suspect that the most likely reason for the problem is the page encoding or a data type column of your database, if you store the html content in database. One possibility is that you are using fields of type "char", or "text" - where you should be using "nchar" and "ntext". Additionally, I would suggest setting UTF-8 encoding anywhere, e.g.
  • In your Database, you should change the data type of the column to nchar or ntext. The nchar type returns the Unicode character with the given integer code, as defined by the Unicode standard.
    You can find additional information about these SQL column types in the MSDN help center by following the next link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_na-nop_25gy.asp.
  • Set UTF-8 encoding in the page with the editor:
    <meta http-equiv="content-type" content="text/html; charset=utf-8">

Greetings,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Alan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Alan
Top achievements
Rank 1
Share this question
or