Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120429

HTMLEditor encoding issues on Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2 P2
    • None
    • 7u13
    • javafx
    • web

      It is not possible to write correct html text output (getHtmlText()) to System.out or using Writer/Outpustream. Special european characters are always written as "?" instead of typed character like "ü".

      This problem occurs only on MacOS when launching as webstart application. Is reproducable by using htmleditor sample code:

      http://docs.oracle.com/javafx/2/ui_controls/editor.htm

      Apply this lines to "showHtml" button:
      FileWriter writer = new FileWriter(new File("d:\\test.txt"));
      writer.write(htmlEditor.getHtmlText());
      writer.close();

            peterz Peter Zhelezniakov
            ageistjfx Alexander Geist (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: