New topic: String has binary content instead text
<http://forums.realsoftware.com/viewtopic.php?t=45787> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message AlexSilva Post subject: String has binary content instead textPosted: Thu Nov 01, 2012 5:08 pm Joined: Sat Sep 25, 2010 1:32 pm Posts: 17 Hi guys. I'm getting data in DataAvailable from TCPSocket. The source is a Java socket that send it with OutputStream object. The code I'm using is: Dim sTmp As String sTmp = me.readall(Encodings.UTF8) MsgBox sTmp The msgbox is empty, and debugger indicates that sTmp has Binary content, not text. Anyone could help me to convert this data to text? I simply can' t find a way to do this using RB. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
