Opened 4 years ago

Closed 4 years ago

#13776 closed Bug (invalid)

Some Ascii characters are not coming in CK Editor

Reported by: Siddharth Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

I am using Ck Editor 4.4.7 in my project ,I am not getting proper Ascii values for ® -Registered trademark , £ -pound and many others . Can you please help ans tell me what configuration I need to change in config.js

Expected result

Expecting ® value for ® -Registered trademark

Actual result

Getting ? symbol

Other details (browser, OS, CKEditor version, installed plugins)

All Browser

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.4.7

If you are getting ? character you are most likely not using UTF-8 encoding. Please bear in mind that you having UTF-8 set across your application (HTML pages, server-side code using encoding and data base) is a good practice.

As for CKEditor, you need entities. First of all you need to have entities enabled and extend additiaonal entitis list e.g.

var editor = CKEDITOR.replace( 'editor1', {
	entities : true,
	entities_additional : '#337,#16,#173,#174'
});

Please also see check entities in CKEditor docs in configuration: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-entities

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy