Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3860

EndOfLine weirdness

$
0
0

Good morning (o;

Weird problem I have with data returned from a TCPSocket which is just text.
The last character is always Chr(10), macOS EndOfLine.

But when adding the returned data into a DesktopTextArea instead of a EndOfLine an odd character is displayed.

Screenshot shows all ASCII codes returned and the textual representation. As you can see the last character is indeed Chr(10):

Any ideas?
Something to do with TCPSocket String encoding?

7 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3860

Trending Articles