Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withDefaultCharacterEncoding (0.25 sec)

  1. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

                // Use an UTF-8 caution symbol in file name
                // that will create a mojibake if encoded using another charset
                file 'mojibakeā˜”.txt'
            }
    
            when:
            executer.withDefaultCharacterEncoding('windows-1252').withTasks("jar")
            executer.run()
    
            then:
            def jar = new JarTestFixture(file('dest/test.jar'))
            jar.assertContainsFile('mojibakeā˜”.txt')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Sets the default character encoding to use.
         *
         * Only makes sense for forking executers.
         *
         * @return this executer
         */
        GradleExecuter withDefaultCharacterEncoding(String defaultCharacterEncoding);
    
        /**
         * Sets the default locale to use.
         *
         * Only makes sense for forking executers.
         *
         * @return this executer
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top