Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 16:51:09 +0000



Post From: DTC with JSON encoding

[2017-12-29 02:42:04]
Jose - Posts: 4
Yes, it was very-very helpful! Thank you so much!!!
...especially these words saved me: needs to be null-terminated
:)

Firstly I tried without ending char, after I used \n and \r\n but these could not help. Somehow I totally forgot the null-terminated string existence. Originally I encoded in UTF-8 but because of the unsuccessful tries I started to play with the different encodings, so this mixed me totally. Now with \0 ending in UTF-8 encoding everything works well! Thank you again!

ps.: Sorry for the late answer, it happened just because of the Christmas holiday :)
I wish you happy holidays and a Perfect New Year!!!
Date Time Of Last Edit: 2017-12-29 02:43:29