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

[Text] TextArea cannot handle Chinese space character properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8
    • javafx
    • None
    • Window XP (32bit)
      java version "1.8.0"
      Java(TM) SE Runtime Environment (build 1.8.0-b129)
      Java HotSpot(TM) Client VM (build 25.0-b69, mixed mode)

      Chinese paragraph usually start with 2 spaces.
      it should display like this:
      ------------
        測試測試測試測試測試測試測試測試。1st line
        測試測試測試測試測試測試測試測試。2nd line
      ------------



      When TextArea wrapping=true, it handles chinese space like english space.
      The starting 2 spaces display in 1st line, and the later chinese text display in 2nd line as follow:
      ------------
        
      測試測試測試測試測試測試測試測試。1st line
        
      測試測試測試測試測試測試測試測試。2nd line
      ------------

            fheidric Felipe Heidrich (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: