Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3996

fragment can't parse Chinese characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.0
    • 8.5.1.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S1

      Steps to Reproduce

      1. run the attached file

      Current Result

      Failed to parse the content: Lexical error on line 2. Unrecognized text.
      測試 <p><input
      -----^

      Expected Result

      no error

      Debug Information

      • <h1 title="測試"> test</h1> also failed

      workaround

      for using Chinese characters, apply zkFragmentContentParser.js

        1. fragment.zul
          0.4 kB
        2. FragmentVM.java
          0.6 kB
        3. zkFragmentContentParser.js
          46 kB

            rudyhuang rudyhuang
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours Time Not Required
                2h