diff options
| author | Amalthea Skydancer <amalthea@faen.dev> | 2026-02-22 01:49:53 +0100 |
|---|---|---|
| committer | Andrey Lihatskiy <118752495+marchcat@users.noreply.github.com> | 2026-03-18 06:39:29 +0200 |
| commit | d045f9aa32789a35628aced166145c182751acbf (patch) | |
| tree | 79691fa42e15b7c0d41f8a73f8543b5d0f1ee9fd /indra/llprimitive/llmodelloader.cpp | |
| parent | b82720f9d60302cb15d0e260860143e4b2c14b92 (diff) | |
Fix locale thousands separator producing '?' on Linux with multibyte UTF-8 separators
getThousandsSeparator() and getMonetaryThousandsSeparator() extracted only
the first byte of localeconv()->thousands_sep, truncating multibyte UTF-8
separator characters (e.g. non-breaking space U+00A0). The incomplete byte
was then embedded via %c format specifier, producing invalid UTF-8 rendered
as '?' in notifications like avatar complexity.
Return the full separator string and use string concatenation instead of %c.
Diffstat (limited to 'indra/llprimitive/llmodelloader.cpp')
0 files changed, 0 insertions, 0 deletions
