Sending data to TTN

Hello everyone, trying to send data to TTN. Did so successfully using "mydata = “Hello World” ". Tried to send different values as in Humidity values and it just shows me

  "Text": "\u0000

in the Fields section in TTN Data.
A portion of the code im using:

// Prepare upstream data transmission at the next possible time.
// hum = dht.readHumidity();
// temp= dht.readTemperature();
mydata[0] = dht.readHumidity();
hum = dht.readHumidity();
Serial.print("Sizeof mydata - ");
Serial.print("Sizeof mydata[0] - ");
LMIC_setTxData2(1, mydata[0], sizeof(mydata[0]), 0);
Serial.println(F(“Packet queued”));

in that code, mydata[0] does store correctly the value for humidity so i dont know what im doing wrong now since im passing the values correctly through the function. Maybe something wrong with my decoder in TTN?

function Decoder(bytes, port) {
Text: String.fromCharCode.apply(null,bytes)

Thank you in advance if u reply

My best regards

Rodrigo Oliveira

Bytes is an array of bytes, not a string or an individual character in ASCII