This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch karaf-4.4.x
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/karaf-4.4.x by this push:
new f66925003c Set chcp in karaf.bat to cleanly render tables on Windows
platform (#2228)
f66925003c is described below
commit f66925003cd99e4af447c384158b816d04b716ea
Author: JB Onofré <[email protected]>
AuthorDate: Tue Jan 20 11:05:07 2026 +0100
Set chcp in karaf.bat to cleanly render tables on Windows platform (#2228)
---
.../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 2763d41d2a..3c70fb4fe8 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%" == "" (