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

Support unicode escape sequences in tagger scripts

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.7.0b1
    • Component/s: Scripting
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Packages

                  Version Package
                  2.7.0b1