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

Support unicode escape sequences in tagger scripts

XMLWordPrintable

    • 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.

            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