mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 14:27:45 +01:00
SeStringEvaluator: Fix HeadAll not capitalizing correctly (#2240)
* Fix obsoletes * Fix HeadAll not capitalizing correctly * Fix incorrect denoun cases in SeString Creator * Implement Utf8String.ToUpper in C# * Handle characters with accents too * Add remarks to ToUpper functions
This commit is contained in:
parent
f96e2ae37c
commit
499952b3d2
6 changed files with 138 additions and 9 deletions
|
|
@ -939,9 +939,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
|||
|
||||
if (p.Type == ReadOnlySePayloadType.Text)
|
||||
{
|
||||
context.Builder.Append(
|
||||
context.CultureInfo.TextInfo.ToTitleCase(Encoding.UTF8.GetString(p.Body.Span)));
|
||||
|
||||
context.Builder.Append(Encoding.UTF8.GetString(p.Body.Span).ToUpper(true, true, false, context.Language));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue