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

Support unicode escape sequences in tagger scripts

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.6.2
    • 2.7.0b1
    • Scripting
    • 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

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

              Dates

                Created:
                Updated:

                Packages

                  Version Package
                  2.7.0b1