On 14/12/2025 2.20 pm, Jean-Baptiste Onofré wrote:
Hi,

Hello,

Just to clarify on the Windows terminal issue: The Karaf console works
fine; it's only the rendering of tables that is using a weird character
instead of the standard pipe (|).

I suspect this is an issue within JLine.

Indeed that seems to be the case:

https://github.com/jline/jline3/issues/1366

reported against Karaf and jline-3.22.0.

The characters used here are:

ASCII code 191 = ┐ ( Box drawing character single line upper right corner )
ASCII code 192 = └ ( Box drawing character single line lower left corner )
ASCII code 193 = ┴ ( Box drawing character single line horizontal and up )
ASCII code 194 = ┬ ( Box drawing character single line horizontal down )
ASCII code 195 = ├ ( Box drawing character single line vertical and right )
ASCII code 196 = ─ ( Box drawing character single horizontal line )
ASCII code 197 = ┼ ( Box drawing character single line horizontal vertical )

These are all have the top bits set, so are encoded as multi-byte sequence in UTF-8 -- in this case 3 bytes, which explains the three weird characters (which depend on local code page, I guess).

Without knowing anything about JLine, I suspect this is caused by https://github.com/jline/jline3/commit/d6e84da4b7a55985fbf8b83b155da3811b0631d8

It drops the codepage argument from terminal/src/main/java/org/jline/terminal/impl/AbstractWindowsTerminal.java and moves it to terminal/src/main/java/org/jline/terminal/TerminalBuilder.java

I think we are ending up with UTF8 instead of the default charset... I am not sure if Karaf can do something about that or it's something that needs fixing in JLine.

Regards,
Robert


Regards,
JB

On Sun, Dec 14, 2025 at 1:36 PM Eric Lilja <[email protected]> wrote:

That would be a blocker for us, unfortunately

On Sun, Dec 14, 2025 at 8:42 AM Jean-Baptiste Onofré <[email protected]>
wrote:

+1 (binding)

I have to test a potential issue about the terminal with Windows
platform,
but definitely not a blocker for this release.

Regards
JB

On Fri, Dec 12, 2025 at 4:04 PM Jean-Baptiste Onofré <[email protected]>
wrote:

Hi everyone,

I submit Apache Karaf runtime 4.4.9 release to your vote (RC1). It
includes the fix on the shell console.

This is a maintenance release on the 4.4.x series, especially bringing;
- provide karaf-integration distribution
- fix on the log service when using logback backend
- upgrade to latest jline version, fixing a CVE
- support array in configuration property passed via env variables or
system properties
- fix on the karaf-maven-plugin dealing with packaging type in
features/kar

You can take a look on the Release Notes for details:


https://github.com/apache/karaf/releases/edit/untagged-03965a8ca31e4d02ecdd

Maven Staging Repository:

https://repository.apache.org/content/repositories/orgapachekaraf-1207/

Dist Staging Repository:
https://dist.apache.org/repos/dist/dev/karaf/4.4.9/

Git tag:
https://github.com/apache/karaf/tree/karaf-4.4.9

Please vote to approve this release:
[ ] +1 Approve the release
[ ] -1 Don't approve the release (please provide specific comments)

This vote will be open for at least 72 hours.

Regards
JB





Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to