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

Weird symbol inserted into the grid when pressing Enter, when page codification is not UTF-8, on Internet Explorer.

7 Answers 81 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 03 Jul 2014, 12:08 PM
Hi, when the editor is shown on a ISO encoded web page, then it shows weird symbols when pressing Enter (shows "" ) within the editor.
You can reproduce this problem on the demo page http://demos.telerik.com/kendo-ui/editor/index , changing the codification (right click on the page->codification->ISO) and then trying to write a new line in the editor, pressing Enter.
My web browser is Internet Explorer 11.
Thanks.

7 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 07 Jul 2014, 07:24 AM
Hello Juan,

This is a symbol that the editor relies on to allow editing. The editor content area needs to be in Unicode in order to hide it -- using a different encoding is not supported.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Fernando
Top achievements
Rank 1
answered on 09 Jul 2014, 11:26 AM
Is there a way that I can have a ISO encoded web page and only a certain part of the document (editor content area) encoded in Unicode? I guess the answer is no, but I need to check.
0
Alex Gyoshev
Telerik team
answered on 10 Jul 2014, 10:00 AM
Hello Juan,

Generally yes, because the editing iframe tries to enforce the utf-8 encoding. If the outer page is served with the proper encoding, this should not be a problem -- changing the encoding in chrome, for example, does not trigger this problem.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Fernando
Top achievements
Rank 1
answered on 10 Jul 2014, 12:25 PM
The outer page must be served in ISO encoding (can´t change our requirementes...).
I don´t understand what you mean by "editing iframe", the widget it´s not embedded in an iframe, is it? Im inspecting it with firebug, and the widget is not contained in any iframe.
I´m using the editor to edit a grid cell´s content, you think if i put the editor in an utf-8 encoded iframe and use that as a column editor the grid and datasource would reflect changes done in the editor?
Thanks.
0
Alex Gyoshev
Telerik team
answered on 10 Jul 2014, 02:33 PM
Hello Juan,

The editor itself creates an iframe, in order to sandbox the content from the styles of the surrounding page. However, IE appears to change the encoding of the iframe, when changing the encoding via the browser menu. On your side, does this problem occur when serving the page with its encoding set from the server (and not using the browser encoding menu)?

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Fernando
Top achievements
Rank 1
answered on 19 Sep 2014, 12:49 PM
The weird thing is that it works ok if i use kendo.web.js instead of kendo.web.min.js ...
I don´t have a clue why that makes any difference, since file codification, server codification ,browser configuration is the same....

If i switch from:
<script type="text/javascript" src="/js/kendoui/2014.2.716/js/kendo.web.min.js"></script>

to:
<script type="text/javascript" src="/js/kendoui/2014.2.716/src/js/kendo.web.js"></script>

it works just fine.

Thanks.


0
Alex Gyoshev
Telerik team
answered on 22 Sep 2014, 10:42 AM
Hello Juan,

It appears that the file is corrupt; please download it again or use a more recent build.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Editor
Asked by
Fernando
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Fernando
Top achievements
Rank 1
Share this question
or