Re: bin/60496 (Locale-dependent UTF-8 issue over SSH session)
[email protected] Fri, 24 Jul 2026 17:36:05 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
Synopsis: Locale-dependent UTF-8 issue over SSH session State-Changed-From-To: open->analyzed State-Changed-By: [email protected] State-Changed-When: Fri, 24 Jul 2026 17:36:04 +0000 State-Changed-Why: Well, that's a silly bug. It's trying to print the octet sequence 0xc2 0xa0, but only the 0xc2 is coming out, because... 631 char thousands_sep; /* locale specific thousands separator */ ... 923 thousands_sep = *(localeconv_l(loc)->thousands_sep); https://nxr.netbsd.org/xref/src/lib/libc/stdio/vfwprintf.c?r=1.41#631 I.e., it's just working with the first byte of the string!