- Subject: [slang-users] printf - bug?
- From: Bernd Eggink <be@xxxxxxxxxx>
- Date: Mon, 28 Sep 2026 11:34:46 +0200
Hello,
() = printf("%3s\n", "ä");
The output on the screen is only 2 characters wide (the German “a” with
an umlaut is on the right). Shouldn't `printf` count characters instead
of bytes?
Best regards,
Bernd
--
http://sudrala.de
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.
[2026 date index]
[2026 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]