Re: Final Cut Pro doesn't accept XML with some characters
Re: Final Cut Pro doesn't accept XML with some characters
- Subject: Re: Final Cut Pro doesn't accept XML with some characters
- From: Martin Baker <email@hidden>
- Date: Tue, 13 Apr 2010 15:43:53 +0100
Accented characters are illegal in an XML file, so you'll need to encode the source strings.
Martin Baker
www.digital-heaven.co.uk
www.twitter.com/digitalheaven
www.videospaceonline.com
www.finalcutters.com
www.funkycloud.com/lifeshaker
------------------------------------------------------
Digital Heaven Ltd is registered in England and Wales
Company registration number: 3628396
Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
VAT registration number: GB 736 0989 03
On 13 Apr 2010, at 13:19, Mustafa Tuğrul Özşahin wrote:
> Hi list,
> I try to send some clips to FCP as XML with apple events. When i send an XML containing some characters like 'ç' 'ğ' or 'ö' programmatically, FCP doesn't import anything. When i save the same XML as a file and import it to FCP via fcp menu, it imports successfully.
> For example:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE xmeml>
> <xmeml version="4"><clip id="1000140"><name>Çatal Ördek</name><duration>120000</duration><rate><timebase>1200</timebase></rate><file id="Çatal Ördek"><name>Çatal Ördek</name><pathurl>file://localhost/folder/ordek.mov</pathurl><duration>120000</duration><rate><timebase>1200</timebase></rate></file></clip></xmeml>
>
> i use FCP 6.0 and apple's FCP apple events example app's apple_event class to send the NSString to FCP as XML.
>
> Any idea why ?
> thanks
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden