
Some os return an invalid/wrong character count if a string with unknown symbols is printed to stdout. Instead use the sprintf family and print to a buffer / determine the required buffer size.
Some os return an invalid/wrong character count if a string with unknown symbols is printed to stdout. Instead use the sprintf family and print to a buffer / determine the required buffer size.