Re: Final Cut Pro doesn't accept XML with some characters
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=PNZRYvqXaYlx4ZhAcz35Q72AmW3hD8JN+3RPVM+SMTU=; b=anvvqQtTZ+N61gInfURV4L4eH9BO9EIY/KhMtkKJfAM/FDTv3J+NEtg2bp0ufq9ghc e3dpdaT0GlecY2eSmNHPT6zP9aOX4szmaM/8xm3hel6IDyE4i/ZZluqsppWOug6zyUoS FGOAS2Eakb5EWcO2/X3TCmlA7S8AkwCO15aXY= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=qZky7+t9QDgu1DIwl2jlIOHEs9W6KUjMWWK6yRsQUMQRUuPYUYtnInNfFrYyBpZCG9 6rZe9HSy1F2hYIfA8SgDDMzu3Gw96YfFROVaWOgSHGOz+gJNJ3bF66QKKBLFajvkQ47f D5tAs1Jxn97z6LP9QNMoxSKyr25XjqCbIKPk0= 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 (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/martin%40digital-heaven....
This email sent to martin@digital-heaven.co.uk
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... This email sent to site_archiver@lists.apple.com
participants (1)
-
Martin Baker