Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Behavior change re piping a string to a Java program

Jan
15
0
Hi. The attached zip contains a trivial Java program that reads a line of text from STDIN and echoes it in quotes to STDOUT.

In TCC 25.00.11, this command: echo bar|java Foo produces "bar"

In TCC 26.00.24, the same command produces "b a r "

Anyone know why the difference?
 

Attachments

  • Foo.zip
    786 bytes · Views: 319
Never mind. That behavior was occurring because I had checked the "Unicode output" box. Unchecking it restored the desired behavior.
 

Similar threads

Back
Top