You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
2026.2.7
Windows version, edition, and architecture
Windows 11 Pro Insider Preview Build 26300 (10.0.26300.9032) x64
Describe your issue
English:
When the system display language is set to Chinese (Simplified, China), almost all Chinese characters in the UniGetUI interface (including package names, descriptions, and UI labels) are rendered as empty squares (tofu/□□).
However, when I change the system display language to English (United States), the exact same program shows all Chinese characters correctly (package names like “微信” are readable).
This issue is not related to MacType (I tested on a clean system without MacType). It also persists regardless of the system default font — even after restoring to Microsoft YaHei UI or using a custom font SDK_SC_Web (which covers full CJK).
I have tried nearly all common workarounds (listed below) but none resolve it. The problem appears to be intrinsic to Avalonia UI’s font fallback behavior on Windows with Chinese locale.
`N/A – I was unable to capture meaningful logs; the console output shows no font-related errors. I am willing to provide logs upon request with specific debugging flags.`
I hava upload my available logs.
Package Managers Logs
`N/A – The issue is purely UI-rendering, not related to package manager operations.`
Relevant information
English:
UI Framework: UniGetUI migrated from WinUI3 to Avalonia (this issue likely resides in Avalonia’s font fallback chain).
System locale: Chinese (Simplified, China) — also tried enabling/disabling “Beta: Use Unicode UTF-8 for worldwide language support” (no effect).
Fonts tested(Using NoMeiryoUI):
Default Microsoft YaHei UI
Custom SDK_SC_Web (extracted from Genshin Impact, full CJK, modified to declare Simplified Chinese support)
Workarounds attempted (all failed):
Deleting Avalonia font cache (%LOCALAPPDATA%\Avalonia\FontCache and %TEMP%\Avalonia – these folders did not exist).
Modifying Windows registry FontLink\SystemLink to add Microsoft YaHei UI and SDK_SC_Web as primary fallback for Segoe UI.
Restoring system default font to Microsoft YaHei UI.
Disabling the “UTF-8 beta” and restarting.
Key observation: The problem only occurs when system language is Chinese; switching to English (US) immediately fixes it, which strongly suggests the issue is not font-specific but locale-dependent in Avalonia’s rendering pipeline.
Please confirm these before moving forward
UniGetUI Version
2026.2.7
Windows version, edition, and architecture
Windows 11 Pro Insider Preview Build 26300 (10.0.26300.9032) x64
Describe your issue
English:
When the system display language is set to Chinese (Simplified, China), almost all Chinese characters in the UniGetUI interface (including package names, descriptions, and UI labels) are rendered as empty squares (tofu/□□).
However, when I change the system display language to English (United States), the exact same program shows all Chinese characters correctly (package names like “微信” are readable).
This issue is not related to MacType (I tested on a clean system without MacType). It also persists regardless of the system default font — even after restoring to
Microsoft YaHei UIor using a custom fontSDK_SC_Web(which covers full CJK).I have tried nearly all common workarounds (listed below) but none resolve it. The problem appears to be intrinsic to Avalonia UI’s font fallback behavior on Windows with Chinese locale.
中文:
当系统显示语言设置为中文(简体,中国) 时,UniGetUI 界面中的几乎所有中文字符(包括包名、描述、UI标签)都显示为空方块(豆腐块/□□)。
但是,当我把系统显示语言切换为英语(美国) 时,同样的程序所有中文字符显示正常(例如“微信”“百度网盘”等包名均可读)。
此问题与 MacType 无关(我在没有 MacType 的干净系统上测试过)。它也不因系统默认字体而改变——即使恢复为
Microsoft YaHei UI或使用自定义全 CJK 字体SDK_SC_Web,问题依然存在。我已尝试几乎所有常见的解决方案(见下文),均无效。该问题似乎源于 Avalonia UI 框架在 Windows 中文区域下的字体回退机制缺陷。
Steps to reproduce the issue
English:
中文:
UniGetUI Logs.txt
UniGetUI Log
Package Managers Logs
Relevant information
English:
Microsoft YaHei UISDK_SC_Web(extracted from Genshin Impact, full CJK, modified to declare Simplified Chinese support)%LOCALAPPDATA%\Avalonia\FontCacheand%TEMP%\Avalonia– these folders did not exist).FontLink\SystemLinkto addMicrosoft YaHei UIandSDK_SC_Webas primary fallback forSegoe UI.Microsoft YaHei UI.中文:
Microsoft YaHei UISDK_SC_Web(从《原神》提取,完整 CJK,已修改为声明简体中文支持)%LOCALAPPDATA%\Avalonia\FontCache和%TEMP%\Avalonia– 这些目录不存在)。FontLink\SystemLink,为Segoe UI添加Microsoft YaHei UI和SDK_SC_Web作为首选回退字体。Microsoft YaHei UI。Screenshots and videos
ONLY the title is correctly displayed.