Comments (4)
OSC has no knowledge of UTF8, it's just bytes.
You must tell UE4 to interpret received bytes as a UTF8 stream somehow. I would try to use the OSC "blob" type, which gives an byte array to work with.
from ue-osc.
thx for the fast reply very much.
Does the output of the Pop String hold utf8 ??? Is it possible to add a new " Pop UTF8 string" receiver function in osc ??
The controllers we have programmed are all huge and many, it is impossible for us to change everything back to blob . . . .
The osc message sent by the "Ventuz OSC" marks the message beginning array is marked with 'B' 'E' 'U' 'C'
from ue-osc.
Unfortunately, it won't be that easy:
In this plugin, OSC strings are stored as FName. I don't know if FName is capable of storing UTF8, that you must try.
There may be a bug when copying OSC string to FName here:
https://github.com/monsieurgustav/UE4-OSC/blob/eaec411eca94f50aae1fbc9451535ae08e4c87e9/OSC/Source/OSC/Private/Receive/OscDispatcher.cpp#L137
Currently, FName is constructed using a char*. One might need to use wchar_t* to support UTF8?
Once stored in FName, it is get/set here:
https://github.com/monsieurgustav/UE4-OSC/blob/eaec411eca94f50aae1fbc9451535ae08e4c87e9/OSC/Source/OSC/Public/Common/OscDataElemStruct.h#L92
from ue-osc.
thank you very much
from ue-osc.
Related Issues (20)
- Packaging Error in UE 4.23 HOT 3
- Possible Dispatcher constructor error
- Can i change port at runtime? HOT 1
- string arguments are clipped if end by "_0" "_1" "_2"... HOT 1
- Crash when launching for Unreal 4.23.1 HOT 2
- UE 4.24 support HOT 2
- It doesn't support version 4.24 HOT 5
- [feature-req]
- Have problem building on 4.24.3 HOT 2
- Mac HOT 1
- Plugin conflicts with Epic OSC plugin at build time. HOT 3
- Assertion Failed error at runtime UE4.25 HOT 8
- 4.26 version HOT 5
- Calling OSC Receiver In Editor ( Editor Utility) HOT 1
- TCP version HOT 3
- OSC not working in Android HOT 4
- Error when building OSX UE5.1 HOT 1
- Oculus Quest 2 Standalone App HOT 4
- Please Rebuild for UE 5.3 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ue-osc.