This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new f12b71ba82 Set chcp in karaf.bat to cleanly render tables on Windows
platform (#2226)
f12b71ba82 is described below
commit f12b71ba825f337749c7d1192188980e8f79fc92
Author: JB Onofré <[email protected]>
AuthorDate: Mon Jan 19 14:47:04 2026 +0100
Set chcp in karaf.bat to cleanly render tables on Windows platform (#2226)
---
.../base/src/main/filtered-resources/resources/bin/karaf.bat | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
index 4612bf5af2..0be0d7df37 100644
---
a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
+++
b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat
@@ -24,6 +24,11 @@ set DIRNAME=%~dp0%
set PROGNAME=%~nx0%
set ARGS=%*
+rem cleanly display utf8 tables, chcp 65001
+rem this can be removed when fixed in jline
+chcp 65001 > nul
+rem as this is within the setlocal section, the change will be reverted on exit
+
rem Sourcing environment settings for karaf similar to tomcats setenv
if "%KARAF_SCRIPT%" == "" (