OSC not sending special characters
-
- Posts: 7
- Joined: 15 Sep 2023 20:47
OSC not sending special characters
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}
2) Sending track name as bytes array
Proppfrexx command: EXEC_SEND_OSC /music/metadata/track/name/bytes|b:${cpltracktitlecurrent}
I tested sending the OSC message from another program to my receiver and I got what was expected
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}
2) Sending track name as bytes array
Proppfrexx command: EXEC_SEND_OSC /music/metadata/track/name/bytes|b:${cpltracktitlecurrent}
I tested sending the OSC message from another program to my receiver and I got what was expected
Re: OSC not sending special characters
OSC strings are by specification ASCII strings and not UTF-8.
As such, special characters are not supported.
As such, special characters are not supported.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
-
- Posts: 7
- Joined: 15 Sep 2023 20:47
Re: OSC not sending special characters
Ok, had to switch protocol to TCP and it works with special characters. Thanks for your response!