You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/08/08 14:05:23 UTC

[camel-quarkus] branch main updated: Set encoding to UTF-8 when writing microprofile-config.properties

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 4e422d1936 Set encoding to UTF-8 when writing microprofile-config.properties
4e422d1936 is described below

commit 4e422d1936e9540481327e97cbf4cb3e3efd6b05
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Aug 8 12:01:35 2023 +0100

    Set encoding to UTF-8 when writing microprofile-config.properties
---
 tooling/scripts/generate-test-containers-config-properties.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tooling/scripts/generate-test-containers-config-properties.groovy b/tooling/scripts/generate-test-containers-config-properties.groovy
index cc2532e881..aedf0c2ca3 100644
--- a/tooling/scripts/generate-test-containers-config-properties.groovy
+++ b/tooling/scripts/generate-test-containers-config-properties.groovy
@@ -30,5 +30,5 @@ if (testClasses.exists()) {
     metaInfDir.mkdir()
 
     File file = new File("${metaInfDir.absolutePath}/microprofile-config.properties")
-    file.write(fileContent)
+    file.write(fileContent, 'UTF-8')
 }