slang-users mailing list

[2026 Date Index] [2026 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] printf - bug?


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]