Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send / Receive extended ASCII strings #27

Open
Andergraw opened this issue Feb 8, 2018 · 1 comment
Open

Send / Receive extended ASCII strings #27

Andergraw opened this issue Feb 8, 2018 · 1 comment

Comments

@Andergraw
Copy link

Hi Jorge!
Thank you for your work, it helped me a lot understanding OSC.
I have one question I cannot find a solution over the Internet. I haven't seen explicitly that it is not possible sending extended ASCII characters in strings.
Nevertheless, I can't do that. Whenever I try to, I get the "?" character.
I know it's maybe not related to your plugin specifically, but any help would be much appreciated since I can't find any info even in the OSC web.

¡Muchas gracias!

@jorgegarcia
Copy link
Owner

Hi @Andergraw,

Thanks for your message, I'm glad UnityOSC helped you :)

I have investigated a bit and it seems that System.Char may be the type you are looking for when trying to read/write ASCII characters. It's strange it's not supported though, since OSCPacket.cs uses Encoding.ASCII.GetString. It would be worth trying out adding the CHAR type in the library (both in OSCMessage.cs and OSCPacket.cs).

I'm sorry at the moment I don't have the time to do it, so if you manage to get it working please let me know and I will integrate it with the library!

All the best,
Jorge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants