New to Kendo UI for jQuery? Download free 30-day trial

Formatting in the Editor Shows BOM Characters in the Editable Area

Environment

Product Progress® Kendo UI® Editor for jQuery
Operating System Windows 10 64bit

Description 

Formatting in the jQuery Editor shows BOM characters in the editable area.

Cause

The Editor uses BOM characters to correctly handle some ranges. If there is an issue with the page encoding, these characters become visible.

Solution

To handle this behavior, refer to the following scenarios:

  1. If you observe the problem in the online demos, your browser might have enforced an encoding that is different from the UTF-8 one. This scenario is not supported.
  2. If the online demos behave properly, change the Kendo UI script references so they are loaded from the CDN (https://kendo.cdn.telerik.com/2024.2.514/js/kendo.all.min.js). If your page is now working correctly, your local script files are served with the wrong encoding, or are corrupted. Copy over the scripts (the files, not their content) from the official distribution, and see if the issue persists.
  3. If the problem is still visible on your page, and the scripts are loaded through the CDN, the page might be served with the wrong formatting. Verify that the page as well as its layout pages are saved and served in UTF-8.

See Also

In this article