OSC not sending special characters

You found a bug or have any issues? Please post them here!
Post Reply
benjavides
Posts: 7
Joined: 15 Sep 2023 20:47
OSC not sending special characters

Post 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
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: OSC not sending special characters

Post by radio42 »

OSC strings are by specification ASCII strings and not UTF-8.
As such, special characters are not supported.
benjavides
Posts: 7
Joined: 15 Sep 2023 20:47
Re: OSC not sending special characters

Post by benjavides »

Ok, had to switch protocol to TCP and it works with special characters. Thanks for your response!

Post Reply