jQWidgets Forums
jQuery UI Widgets › Forums › Editors › Editor › HTML encoding of german umlaute in jqxEditor
This topic contains 5 replies, has 2 voices, and was last updated by Nadezhda 10 years, 4 months ago.
-
Author
-
Hi,
it seems that the jqxEditor does not encode umlaute (eg. ä to ä). All the html special chars are encoded correctly. This behaviour can also be reproduced on your hosted jqxEditor example.
If the datasource contains umlaute these are shown correctly.Any ideas how this could be possible? I compared it with TinyMCE and here those umlaute get correctly encoded. Maybe a setting I can change?
thanks,
MattHello Matt,
Here is an example with word that contains umlaute and jqxEditor encode correctly the umlaute on our side(). Please, make sure all your jQWidgets files are updated to version 3.6.0.
<!DOCTYPE html> <html lang="en"> <head> <title></title> <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../scripts/demos.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxscrollbar.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxlistbox.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxdropdownlist.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxdropdownbutton.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcolorpicker.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxwindow.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxeditor.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcheckbox.js"></script> </head> <body> <script type="text/javascript"> $(document).ready(function () { $('#editor').jqxEditor({ height: "400px", width: '800px' }); }); </script> <textarea id="editor"> Wörterbuch </textarea> </body> </html>
Best Regards,
NadezhdajQWidgets team
http://www.jqwidgets.com/Hi,
also using your example with version 3.6.0 I receive as html source <div>Wörterbuch</div> where I’d expect <div>Wörterbuch</div>.
Its the same with firefox or chrome on Windows 7.Does this work on your side?
thanks for your answer,
MattHi Matt,
It works with
<div>
on our side (Chrome v39.0/Firefox v34.0).Best Regards,
NadezhdajQWidgets team
http://www.jqwidgets.com/Hi,
I see that my expected result was also replaced and not correctly shown: I want the umlaut o (ö) to be encoded with the html representation.
But I get the plain ö instead.
I also have firefox 34 and chrome 39. You get the replaced variant?
thanks,
MattHi Matt,
Unfortunately, it is not possible to change charset of the jqxEditor. At the moment there is not such a property.
Best Regards,
NadezhdajQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.