Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59841

Scriptler 3.1 destroys groovy scripts containing German special characters (Umlauts)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • scriptler-plugin
    • None
    • Windows Server 2008 64bit
      Jenkins 2.190.1
      Scriptler 3.1
      java version "1.8.0_221"

      I have some groovy scripts replacing German characters like 'ß' by '.' e.g.:

      directory.getName().replace('ß','.')

      Now since Scriptler plugin version 3.1 when editing those scripts I see '?' instead of 'ß' and after saving the scripts they are no more working because characters are replaced by invalid characters.

      I guess that files are encoded in ISO 8859-1 but now are intepreted as UTF-8.

      Finally going back to Scriptler plugin version 2.9 solved the problem.

        1. Debug_Scriptler2.9.groovy
          0.1 kB
          Robert Nitschke
        2. Debug_Scriptler3.1.groovy
          0.1 kB
          Robert Nitschke

            mtughan Michael Tughan
            der_dag Robert Nitschke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: