vMix Forums
»
General
»
General Discussion
»
ERROR: There is no Unicode byte order mark. Cannot switch to Unicode?
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2013(UTC) Posts: 405 Location: Gold Coast, Australia
Thanks: 27 times Was thanked: 76 time(s) in 58 post(s)
|
Hello,
I have an XML data source I want to import information from to Vmix.
It starts with this line:
<?xml version="1.0" encoding="utf-16"?>
Other XML data sources I've imported so far do not even have a first line declaring a format and work.
Vmix throws this error:
ERROR: There is no Unicode byte order mark. Cannot switch to Unicode
Wondering if there is any workaround? I suspect Vmix wants the more common utf-8 format (ascii).
Any advice welcome, I can't post the data into a public forum, but can PM Vmix staff if helpful.
I don't think it's a bug, more a compatibility issue to work out.
I've parsed this XML URL with Javascript/AJAX and had no errors for a different purpose.
Thanks.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,211 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 post(s)
|
The encoding setting specifies the actual encoding of the file itself. So if this heading is found in a file that is not actually in unicode format, then that error will appear.
This can happen if exporting utf-16 XML in .net but not specifying utf-16 encoding when saving to file.
Regards,
Martin vMix
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
ERROR: There is no Unicode byte order mark. Cannot switch to Unicode?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close