mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] swprintf possible bug
@ 2020-11-01 19:06 Alexander Vitiuk
  2020-11-01 20:17 ` Érico Nogueira
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Vitiuk @ 2020-11-01 19:06 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hello!
It seems, wsprintf() / wprintf() are not working in musl as expected, if uses with cyrillic:

C testcase:
#include <wchar.h>
int main() {
  wprintf(L"[hello]\n");
  wprintf(L"[Привет]\n");
 return 0;
}
on x86_64-linux-gnu prints:
[hello]
[Privet]
and on x86_64-linux-musl prints: [hello]
[

There are other cases described:
https://github.com/emscripten-core/emscripten/issues/11947

[-- Attachment #2: Type: text/html, Size: 3576 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-01 21:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 19:06 [musl] swprintf possible bug Alexander Vitiuk
2020-11-01 20:17 ` Érico Nogueira
2020-11-01 20:40   ` Szabolcs Nagy
2020-11-01 20:48     ` Érico Nogueira
2020-11-01 21:05       ` Rich Felker
2020-11-01 20:48   ` Wolf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).