logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Speegs  
#1 Posted : Wednesday, November 30, 2016 9:53:14 AM(UTC)
Speegs

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.


admin  
#2 Posted : Wednesday, November 30, 2016 3:03:50 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,211
Man
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
Users browsing this topic
Guest
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.