UTF-8 JavaScript API Sample
This edit-on Pro sample demonstrates the editor's encoding feature. In this example, the editor is configured to use the UTF-8 encoding.

The editor's encoding can be set using following JavaScript method within the applet's JavaScript configuration:

<script type="text/javascript">
eop = new editOnPro(898, 400, "eop_inst1", "myId", "eop");
......
// The JavaScript configuration API method setEncoding() sets
// the editor's encoding (here: to UTF-8)
eop.setEncoding("UTF8");
....
</script>
								               
Back to Samples Index