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

8 posts, 0 answers
  1. Juan Jose
    Juan Jose avatar
    45 posts
    Member since:
    Jul 2013

    Posted 03 Jul 2014 Link to this post

    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.

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 07 Jul 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Juan Jose
    Juan Jose avatar
    45 posts
    Member since:
    Jul 2013

    Posted 09 Jul 2014 in reply to Alex Gyoshev Link to this post

    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.
  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 10 Jul 2014 Link to this post

    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!
     
  6. Juan Jose
    Juan Jose avatar
    45 posts
    Member since:
    Jul 2013

    Posted 10 Jul 2014 in reply to Alex Gyoshev Link to this post

    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.
  7. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 10 Jul 2014 Link to this post

    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!
     
  8. Juan Jose
    Juan Jose avatar
    45 posts
    Member since:
    Jul 2013

    Posted 19 Sep 2014 in reply to Alex Gyoshev Link to this post

    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.


  9. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 22 Sep 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready