osc: fix receiving utf8 strings (osc.js does it now) (#574)

This commit is contained in:
bordun 2019-11-28 23:46:03 +01:00
parent 11217a4c34
commit 6cd2cd18db
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 0.48.5
- bug fixes
- regression breaking support for utf-8 strings in received osc messages
## 0.48.4
- bug fixes

View file

@ -10,7 +10,7 @@ osc.writeUtfString = (str)=>{
}
osc.readUtfString = (dv, offsetState)=>{
return utf8.decode(osc.readString(dv, offsetState))
return osc.readString(dv, offsetState)
}
osc.argumentTypes.s = osc.argumentTypes.S = {