some time ago i have asek how to decode special chars on a tcp connection (TCP with ä, ö, ü, ß,...
now i want to send special chars, so that an windows-service could read the string without any errors. so i have tried this here:
byte theByteArray = ((String)sendList.elementAt(0)).getBytes();
String strSendString = new String(theByteArray,"UTF8");
but i always get an ? instead of an ä,ö,ü or ß.... the output in the console is correct.
so now i developed a desktop application in vb.net, which also sends a UTF8-decoded string. and there i've git no problems with:
myBuffer = System.Text.Encoding.UTF8.GetBytes(Data)
myTCPClient.GetStream.Write(myBuffer, 0, myBuffer.Length)
so maybe someone could help me...? is there an option on the bes oder on the BB?