EditLive! for Java Swing allows developers to specify the following editor properties:
- The character set used by the editor to decode HTML in EditLive! for Java Swing in order to display the HTML to the user.
- The character set used to encode the HTML extracted from EditLive! for Java Swing (using run-time properties such as getDocument ()).
These separate character encoding specifications are set in two entirely different ways. This tutorial shows you how to set both of these character encoding specifications.
Tutorial
The Specifying Character Set in the Swing SDK Tutorial provides a step-by-step walk-through on how to specify both character encoding types for EditLive!.
Code
The complete code views for all the associated files in the Specifying Character Set in the Swing SDK Tutorial are available here.