Page 1 of 1

OSC not sending special characters

Posted: 22 Nov 2023 00:11
by benjavides
Hi! I want to send the name of the song that is currently being played by OSC. It's working, but if the track name has uncommon characters like: ñ, á, é, í, ó, ú
they are sent as "?" by OSC.

In the following two examples I'm sending the data of a song with title "Hey You ñññ áéíóú"

1) Sending track name as string
Proppfrexx command: EXEC_SEND_OSC /music/metadata/track/name|s:${cpltracktitlecurrent}
Image

2) Sending track name as bytes array
Proppfrexx command: EXEC_SEND_OSC /music/metadata/track/name/bytes|b:${cpltracktitlecurrent}
Image

I tested sending the OSC message from another program to my receiver and I got what was expected
Image

Re: OSC not sending special characters

Posted: 22 Nov 2023 00:41
by radio42
OSC strings are by specification ASCII strings and not UTF-8.
As such, special characters are not supported.

Re: OSC not sending special characters

Posted: 22 Nov 2023 21:23
by benjavides
Ok, had to switch protocol to TCP and it works with special characters. Thanks for your response!