Paragraph.SplitLines
fails to split a string if it contains Japanese characters
#1787
Labels
Paragraph.SplitLines
fails to split a string if it contains Japanese characters
#1787
Information
Describe the bug
I'm using
Spectre.Console.Progress
to report progress on several parallel tasks:https://github.com/Tyrrrz/DiscordChatExporter/blob/09e0b3f1334bcbe413c5e577f3e812fb19a0f62b/DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs#L192-L245
It appears that, when a new task is started with the following description, Spectre.Console throws an exception:
神様達が下界に来る前は、魔法は特定の種族の専売特許に過ぎなかった。けれど、神様達の『恩恵』はいかなる者でも魔法を発現させることを可能としたのだ。
Exception:
I'm able to debug the callstack a bit and these are the last few frames that could be of interest:
To Reproduce
I've decomposed the issue to the following simplest reproduction sample:
Expected behavior
There should be no exception.
Screenshots
See above.
Additional context
I've noticed that the issue is not reproduced in the JetBrains Rider's integrated terminal, where the Japanese characters are replaced by
?
. However, that might be unrelated.Original issue: Tyrrrz/DiscordChatExporter#1354
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: