summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/llstring_test.cpp
diff options
context:
space:
mode:
authorAmalthea Skydancer <amalthea@faen.dev>2026-02-22 01:49:53 +0100
committerAndrey Lihatskiy <118752495+marchcat@users.noreply.github.com>2026-03-18 06:39:29 +0200
commitd045f9aa32789a35628aced166145c182751acbf (patch)
tree79691fa42e15b7c0d41f8a73f8543b5d0f1ee9fd /indra/llcommon/tests/llstring_test.cpp
parentb82720f9d60302cb15d0e260860143e4b2c14b92 (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/llcommon/tests/llstring_test.cpp')
0 files changed, 0 insertions, 0 deletions