Skip to content

Box-drawing characters looks not right if LANG is zh_CN.UTF-8 #22359

@vagreargnatry

Description

@vagreargnatry

What Happened?

I use Arch Linux and KDE Plasma. minikube, kubectl, docker and docker-compose is installed by pacman. In Konsole and VS Code terminal, LANG=zh_CN.UTF-8 minikube service list output box-drawing characters is not same as LANG=en_US.UTF-8 minikube service list and LANG=C minikube service list. My terminal font is Hack. Source Code Pro produces same result. Please see picture below.

Image Image

Here is my PC's info

[hikari@lenovo Desktop]$ locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY=zh_CN.UTF-8
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=

[hikari@lenovo Desktop]$ cat ~/.config/plasma-localerc
[Formats]
LANG=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_MONETARY=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_NUMERIC=zh_CN.UTF-8
LC_PAPER=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8

[Translations]
LANGUAGE=zh_CN:en_US

[hikari@lenovo Desktop]$ minikube version
minikube version: v1.37.0
commit: 65318f4cfff9c12cc87ec9eb8f4cdd57b25047f3-dirty

[hikari@lenovo Desktop]$ docker version
Client:
 Version:           29.1.3
 API version:       1.52
 Go version:        go1.25.5 X:nodwarf5
 Git commit:        f52814d454
 Built:             Sun Dec 14 18:17:38 2025
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          29.1.3
  API version:      1.52 (minimum version 1.44)
  Go version:       go1.25.5 X:nodwarf5
  Git commit:       fbf3ed25f8
  Built:            Sun Dec 14 18:17:38 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v2.2.1
  GitCommit:        dea7da592f5d1d2b7755e3a161be07f43fad8f75.m
 runc:
  Version:          1.4.0
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Attach the log file

log.txt

The issue is also appears in minikube logs --file=log.txt. Below is LANG=en_US.UTF-8 minikube logs --file=log.txt'

log.txt

Operating System

Other

Driver

Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions