Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2204

Support unicode escape sequences in tagger scripts

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.7.0b1
    • 2.6.2
    • Scripting
    • None

      Allow unicode escape sequences, e.g. \u6e56, in tagger script.

      Rationale:

      • This would allow explicitly inserting special characters
      • Makes it easier to define some characters the user cannot write
      • We could make invisible control characters visible (see PICARD-2200)

      For the syntax use \uXXXX, where XXXX is a Unicode code point in hexadecimal. This is similar to how Python does it.

      This is an extension to the syntax, but old scripts stay compatuble. \u is illegal in older versions.

          [PICARD-2204] Support unicode escape sequences in tagger scripts

          GitHub Bot added a comment -

          See code changes in pull request #1806 submitted by phw.

          GitHub Bot added a comment - See code changes in pull request #1806 submitted by phw .

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package
                2.7.0b1