sending clip name via osc to resolme character encoding
Posted: Sun Sep 20, 2015 15:12
I have some problems sending characters above code 127 to the clip name via OSC.
it seems that resolume works well with base characters, but above code 127, produces strange unicode characters, which in turn make Processing XML parser crash with.
I'm stuck, can this be worked around?
I really would like to use éáűőúóü etc characters in clip names via osc.
edit: I tried some online xml validators which show the same error,
it seems that resolume works well with base characters, but above code 127, produces strange unicode characters, which in turn make Processing XML parser crash with.
sending the codes 20 to 256 produce this clip property in the composition:Fatal Error] :2185:29: Character reference "&#
org.xml.sax.SAXParseException; lineNumber: 2185; columnNumber: 29; Character reference "&#
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
at processing.data.XML.<init>(XML.java:187)
at processing.core.PApplet.loadXML(PApplet.java:6322)
at processing.core.PApplet.loadXML(PApplet.java:6312)
Code: Select all
<name value=" !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������"/>
I really would like to use éáűőúóü etc characters in clip names via osc.
edit: I tried some online xml validators which show the same error,
So I think the problem is not with the xml parser.Character reference "�" is an invalid XML character.