Hi. I have the following code (and output);
print sprintf ("%-6s", "°C"). "|\n"; print sprintf ("%-6s", "Deg C")."|\n"; --------------------------------------- Output; °C | Deg C |
It appears the 2 bytes involved with the ° character is comprehended as 2 spaces and so my vertical bars do not align. Is there a way around this issue (without just avoiding such characters) ??
Regards JC......
In reply to Issue of formatting columns of data by jmClifford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |