Does it not work? You also need a terminal (emulator) which supports an encoding other than ASCII (like UTF-8), and is also configured to interpret the byte data correctly (if you output ISO-8859-1, but the terminal expects UTF-8, you won't get useful results).
What is a "tcp application"?
