Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get garbage On UNIX when displaying U format via a terminal emulation?

0
10 Posted

Why do I get garbage On UNIX when displaying U format via a terminal emulation?

0
10

All characters which are not contained in the default code page will be replaced with the substitution character of the code page before displaying the output on a terminal emulation. For an ASCII code page, the substitution character (defined by the ICU conversion table) is often 0x1A, which could be a control character on UNIX terminals. It is strongly recommended to use the Web I/O Interface when using U format in I/O statements.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.