0 Replies Latest reply on May 17, 2012 12:21 AM by dhl1

    XML export character encoding bug

    dhl1 Level 1

      I've found a bug with Final Cut Pro XML export for any projects where media has a "#" in the name. Premiere Pro passes the "#" character into the file pathname instead of encoding it as "%23". The result is any clips with names such as "clip #1", "clip #2", "clip #3", etc. will be broken whe the XML is imported by another application. Compare:

       

      Premiere Pro XML (does not work):

       

      <pathurl>file://localhost/Volumes/P50%20Production%20Drive%202/CNMT%202011-12/CNMT%202011- 12%20Final%20Cut%20Pro%20Documents/Mom%20is%20Never%20Wrong/

      CNMT_MomNeverWrong_Street_12_14_11/Clip%20#2.mov</pathurl>

       

       

      Final Cut Pro XML (works properly):

       

      <pathurl>file://localhost/Volumes/P50%20Production%20Drive%202/CNMT%202011-12/CNMT%202011- 12%20Final%20Cut%20Pro%20Documents/Mom%20is%20Never%20Wrong/

      CNMT_MomNeverWrong_Street_12_14_11/Clip%20%232.mov</pathurl>

       

       

      Note the difference in the clip name. A global search and replace of "#" with "%23" makes the Premiere Pro XML work properly.

       

      This bug is easily repeatable and verifiable. I've filed a bug report but wanted to post here just to give folks a heads up.

       

      Thanks for your help!

       

      --dhl