Skip to content

[GAME] (SteamDeckUI) When attempting to linefeed a long Chinese string, the game crashes #340

@IBRS-4Ever

Description

@IBRS-4Ever

Describe the bug

When attempting to linefeed a long Chinese string, the game crashes, it seems because the Chinese string's consided as a single "Word" if there's no space in it
Works fine in English, But in Chinese it will crash.
Tested on 1080P monitor.
Add a space near "。" kinda fix the problem, but still crash on some low res monitors.

Steps to reproduce

Steps to reproduce the behavior:

  1. Replace the "Bonus_Map_UnusedMapsComment" line with "未能进入正式版《熵:零 2》或经过重做的而被替代的地图组。它们可能不像最初预期的那样正常运作,或可能由于糟糕的关卡转换而突然结束。其它剩余的 BSP 文件可在游戏目录中找到。"
  2. Hover the cursor to the "Unused Maps"
  3. Game Crashes

Expected behavior

Display the string properly instead of crash to desktop.

Additional context

(Optional) Add any other context about the problem here.

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