"Error reference to invalid character number at line 714"??

Help for Audacity 2.x.x on Windows.

ImageThis forum is for Audacity 2.x.x on Windows.

  • Please state which version of Windows you are using, the exact three-section version of Audacity from "Help menu > About Audacity".

  • Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
    The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.

"Error reference to invalid character number at line 714"??

Permanent link to this post Posted by lullult50 » Tue May 16, 2017 5:48 pm

I saved my project earlier in the week, however when I reopened it, I got: ""Error reference to invalid character number at line 714.

I am running windows 10 and here is the text file:

Code: Select all
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacity.sourceforge.net/xml/" projname="Diamonds On Wrist_data" version="1.3.0" audacityversion="2.1.2" sel0="68.4178980173" sel1="68.4178980173" vpos="2720" h="51.9269764521" zoom="57.9106507919" rate="44100.0" snapto="off" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
   <tags>
      <tag name="major_brand" value="dash"/>
      <tag name="Software" value="Lavf57.19.100"/>
      <tag name="compatible_brands" value="iso6mp41"/>
      <tag name="minor_version" value="0"/>
   </tags>
   <wavetrack name="[FREE] Lil Uzi Vert Type Beat PinkSlip (Prod. Troy Picasso)" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="0.00000000">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="10691712">
            <waveblock start="0">
               <simpleblockfile filename="e000017e.au" len="262144" min="-0.230913" max="0.274352" rms="0.053718"/>
            </waveblock>
            <waveblock start="262144">
               <simpleblockfile filename="e000006f.au" len="262144" min="-0.271677" max="0.287037" rms="0.055896"/>
            </waveblock>
            <waveblock start="524288">
               <simpleblockfile filename="e00001f3.au" len="262144" min="-0.982935" max="0.984478" rms="0.176354"/>
            </waveblock>
            <waveblock start="786432">
               <simpleblockfile filename="e00004ad.au" len="262144" min="-0.974408" max="0.97876" rms="0.260175"/>
            </waveblock>
            <waveblock start="1048576">
               <simpleblockfile filename="e0000b44.au" len="262144" min="-0.974247" max="0.983743" rms="0.249756"/>
            </waveblock>
            <waveblock start="1310720">
               <simpleblockfile filename="e00007b8.au" len="262144" min="-0.982072" max="0.986334" rms="0.243069"/>
            </waveblock>
            <waveblock start="1572864">
               <simpleblockfile filename="e0000bac.au" len="262144" min="-0.982788" max="0.982309" rms="0.25503"/>
            </waveblock>
            <waveblock start="1835008">
               <simpleblockfile filename="e00005e5.au" len="262144" min="-0.962315" max="0.993888" rms="0.19988"/>
            </waveblock>
            <waveblock start="2097152">
               <simpleblockfile filename="e000000c.au" len="262144" min="-0.96703" max="0.971434" rms="0.234459"/>
            </waveblock>
            <waveblock start="2359296">
               <simpleblockfile filename="e0000f91.au" len="262144" min="-0.968216" max="0.982114" rms="0.219627"/>
            </waveblock>
            <waveblock start="2621440">
               <simpleblockfile filename="e00000c3.au" len="262144" min="-0.986199" max="1.006614" rms="0.229718"/>
            </waveblock>
            <waveblock start="2883584">
               <simpleblockfile filename="e0000e16.au" len="262144" min="-0.990851" max="0.979484" rms="0.257609"/>
            </waveblock>
            <waveblock start="3145728">
               <simpleblockfile filename="e0000df1.au" len="262144" min="-0.969765" max="0.956214" rms="0.162971"/>
            </waveblock>
            <waveblock start="3407872">
               <simpleblockfile filename="e0000f8c.au" len="262144" min="-0.969575" max="0.98761" rms="0.215117"/>
            </waveblock>
            <waveblock start="3670016">
               <simpleblockfile filename="e0000059.au" len="262144" min="-0.990887" max="0.968085" rms="0.2083"/>
            </waveblock>
            <waveblock start="3932160">
               <simpleblockfile filename="e0000532.au" len="262144" min="-0.976817" max="0.965609" rms="0.221587"/>
            </waveblock>
            <waveblock start="4194304">
               <simpleblockfile filename="e00008c1.au" len="262144" min="-0.961849" max="0.975329" rms="0.195334"/>
            </waveblock>
            <waveblock start="4456448">
               <simpleblockfile filename="e00005a6.au" len="262144" min="-0.275398" max="0.308951" rms="0.05593"/>
            </waveblock>
            <waveblock start="4718592">
               <simpleblockfile filename="e0000f79.au" len="262144" min="-0.299598" max="0.360874" rms="0.056005"/>
            </waveblock>
            <waveblock start="4980736">
               <simpleblockfile filename="e0000e8d.au" len="262144" min="-0.986757" max="0.984955" rms="0.223779"/>
            </waveblock>
            <waveblock start="5242880">
               <simpleblockfile filename="e0000958.au" len="262144" min="-0.977547" max="0.997759" rms="0.258454"/>
            </waveblock>
            <waveblock start="5505024">
               <simpleblockfile filename="e00005ad.au" len="262144" min="-0.975548" max="0.976357" rms="0.239772"/>
            </waveblock>
            <waveblock start="5767168">
               <simpleblockfile filename="e000058d.au" len="262144" min="-0.982667" max="0.99028" rms="0.244691"/>
            </waveblock>
            <waveblock start="6029312">
               <simpleblockfile filename="e0000907.au" len="262144" min="-0.979116" max="1.014156" rms="0.252242"/>
            </waveblock>
            <waveblock start="6291456">
               <simpleblockfile filename="e00002ae.au" len="262144" min="-0.961226" max="1.006135" rms="0.202512"/>
            </waveblock>
            <waveblock start="6553600">
               <simpleblockfile filename="e0000081.au" len="262144" min="-0.963217" max="0.972475" rms="0.214943"/>
            </waveblock>
            <waveblock start="6815744">
               <simpleblockfile filename="e0000191.au" len="262144" min="-0.988306" max="0.97263" rms="0.226404"/>
            </waveblock>
            <waveblock start="7077888">
               <simpleblockfile filename="e0000b92.au" len="262144" min="-0.97123" max="0.976426" rms="0.249725"/>
            </waveblock>
            <waveblock start="7340032">
               <simpleblockfile filename="e0000474.au" len="262144" min="-0.979067" max="0.995135" rms="0.217564"/>
            </waveblock>
            <waveblock start="7602176">
               <simpleblockfile filename="e0000d7d.au" len="262144" min="-0.978415" max="0.949703" rms="0.190666"/>
            </waveblock>
            <waveblock start="7864320">
               <simpleblockfile filename="e00000e1.au" len="262144" min="-0.97021" max="0.966657" rms="0.214293"/>
            </waveblock>
            <waveblock start="8126464">
               <simpleblockfile filename="e00005e7.au" len="262144" min="-0.956456" max="0.972257" rms="0.209764"/>
            </waveblock>
            <waveblock start="8388608">
               <simpleblockfile filename="e00006f2.au" len="262144" min="-0.972054" max="0.964294" rms="0.232722"/>
            </waveblock>
            <waveblock start="8650752">
               <simpleblockfile filename="e00003f9.au" len="262144" min="-0.983426" max="0.986376" rms="0.224351"/>
            </waveblock>
            <waveblock start="8912896">
               <simpleblockfile filename="e0000bbd.au" len="262144" min="-0.978854" max="0.981009" rms="0.257207"/>
            </waveblock>
            <waveblock start="9175040">
               <simpleblockfile filename="e000085e.au" len="262144" min="-0.989145" max="0.984244" rms="0.239711"/>
            </waveblock>
            <waveblock start="9437184">
               <simpleblockfile filename="e00009c0.au" len="262144" min="-0.999363" max="0.981782" rms="0.249493"/>
            </waveblock>
            <waveblock start="9699328">
               <simpleblockfile filename="e0000cf0.au" len="262144" min="-0.994384" max="0.981531" rms="0.239659"/>
            </waveblock>
            <waveblock start="9961472">
               <simpleblockfile filename="e00009e7.au" len="262144" min="-0.994017" max="0.969914" rms="0.144281"/>
            </waveblock>
            <waveblock start="10223616">
               <simpleblockfile filename="e00003b5.au" len="262144" min="-0.185552" max="0.180976" rms="0.020759"/>
            </waveblock>
            <waveblock start="10485760">
               <simpleblockfile filename="e0000ee5.au" len="205952" min="-0.251513" max="0.34631" rms="0.0238"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="[FREE] Lil Uzi Vert Type Beat PinkSlip (Prod. Troy Picasso)" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="0.00000000">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="10691712">
            <waveblock start="0">
               <simpleblockfile filename="e000052d.au" len="262144" min="-0.321592" max="0.471718" rms="0.055519"/>
            </waveblock>
            <waveblock start="262144">
               <simpleblockfile filename="e00004d0.au" len="262144" min="-0.31687" max="0.350793" rms="0.058093"/>
            </waveblock>
            <waveblock start="524288">
               <simpleblockfile filename="e0000d7e.au" len="262144" min="-0.995838" max="0.997317" rms="0.177205"/>
            </waveblock>
            <waveblock start="786432">
               <simpleblockfile filename="e00001a6.au" len="262144" min="-0.973762" max="1.045117" rms="0.260277"/>
            </waveblock>
            <waveblock start="1048576">
               <simpleblockfile filename="e0000c7a.au" len="262144" min="-0.983388" max="0.987715" rms="0.249384"/>
            </waveblock>
            <waveblock start="1310720">
               <simpleblockfile filename="e0000631.au" len="262144" min="-0.977635" max="0.978569" rms="0.242943"/>
            </waveblock>
            <waveblock start="1572864">
               <simpleblockfile filename="e0000c0d.au" len="262144" min="-1.018338" max="1.018038" rms="0.254943"/>
            </waveblock>
            <waveblock start="1835008">
               <simpleblockfile filename="e000071f.au" len="262144" min="-0.969476" max="0.974437" rms="0.199047"/>
            </waveblock>
            <waveblock start="2097152">
               <simpleblockfile filename="e0000cd7.au" len="262144" min="-0.991419" max="0.983616" rms="0.234572"/>
            </waveblock>
            <waveblock start="2359296">
               <simpleblockfile filename="e0000bb7.au" len="262144" min="-0.975779" max="0.979428" rms="0.219041"/>
            </waveblock>
            <waveblock start="2621440">
               <simpleblockfile filename="e000034d.au" len="262144" min="-0.991916" max="0.974643" rms="0.229842"/>
            </waveblock>
            <waveblock start="2883584">
               <simpleblockfile filename="e0000822.au" len="262144" min="-1.000316" max="1.003305" rms="0.257263"/>
            </waveblock>
            <waveblock start="3145728">
               <simpleblockfile filename="e0000f3c.au" len="262144" min="-0.974655" max="0.931419" rms="0.161973"/>
            </waveblock>
            <waveblock start="3407872">
               <simpleblockfile filename="e0000507.au" len="262144" min="-0.967257" max="0.962095" rms="0.215026"/>
            </waveblock>
            <waveblock start="3670016">
               <simpleblockfile filename="e000060b.au" len="262144" min="-0.953218" max="0.967712" rms="0.207278"/>
            </waveblock>
            <waveblock start="3932160">
               <simpleblockfile filename="e0000963.au" len="262144" min="-0.971311" max="0.970273" rms="0.223826"/>
            </waveblock>
            <waveblock start="4194304">
               <simpleblockfile filename="e0000c22.au" len="262144" min="-0.970071" max="0.969563" rms="0.195458"/>
            </waveblock>
            <waveblock start="4456448">
               <simpleblockfile filename="e0000de8.au" len="262144" min="-0.265735" max="0.296111" rms="0.058162"/>
            </waveblock>
            <waveblock start="4718592">
               <simpleblockfile filename="e000096f.au" len="262144" min="-0.292348" max="0.295061" rms="0.057039"/>
            </waveblock>
            <waveblock start="4980736">
               <simpleblockfile filename="e000014f.au" len="262144" min="-0.976059" max="0.988111" rms="0.223395"/>
            </waveblock>
            <waveblock start="5242880">
               <simpleblockfile filename="e0000461.au" len="262144" min="-0.985337" max="0.992214" rms="0.258226"/>
            </waveblock>
            <waveblock start="5505024">
               <simpleblockfile filename="e0000f12.au" len="262144" min="-1.00243" max="0.985256" rms="0.240074"/>
            </waveblock>
            <waveblock start="5767168">
               <simpleblockfile filename="e0000289.au" len="262144" min="-0.998435" max="0.983273" rms="0.245234"/>
            </waveblock>
            <waveblock start="6029312">
               <simpleblockfile filename="e0000917.au" len="262144" min="-0.992545" max="0.998451" rms="0.251483"/>
            </waveblock>
            <waveblock start="6291456">
               <simpleblockfile filename="e0000360.au" len="262144" min="-0.963043" max="0.952647" rms="0.20243"/>
            </waveblock>
            <waveblock start="6553600">
               <simpleblockfile filename="e0000cb7.au" len="262144" min="-0.951051" max="0.954134" rms="0.214389"/>
            </waveblock>
            <waveblock start="6815744">
               <simpleblockfile filename="e00001b9.au" len="262144" min="-1.016171" max="0.979488" rms="0.226585"/>
            </waveblock>
            <waveblock start="7077888">
               <simpleblockfile filename="e00003b2.au" len="262144" min="-0.981237" max="0.978463" rms="0.248395"/>
            </waveblock>
            <waveblock start="7340032">
               <simpleblockfile filename="e000005a.au" len="262144" min="-1.007111" max="0.989571" rms="0.218607"/>
            </waveblock>
            <waveblock start="7602176">
               <simpleblockfile filename="e0000992.au" len="262144" min="-0.910869" max="0.927785" rms="0.189342"/>
            </waveblock>
            <waveblock start="7864320">
               <simpleblockfile filename="e0000e3c.au" len="262144" min="-0.969707" max="0.963502" rms="0.214572"/>
            </waveblock>
            <waveblock start="8126464">
               <simpleblockfile filename="e00002e4.au" len="262144" min="-0.990447" max="0.970814" rms="0.209058"/>
            </waveblock>
            <waveblock start="8388608">
               <simpleblockfile filename="e00000cb.au" len="262144" min="-0.960829" max="0.956684" rms="0.234105"/>
            </waveblock>
            <waveblock start="8650752">
               <simpleblockfile filename="e0000807.au" len="262144" min="-0.969534" max="0.982928" rms="0.22297"/>
            </waveblock>
            <waveblock start="8912896">
               <simpleblockfile filename="e0000ef6.au" len="262144" min="-0.980271" max="0.978259" rms="0.259506"/>
            </waveblock>
            <waveblock start="9175040">
               <simpleblockfile filename="e0000091.au" len="262144" min="-0.975705" max="0.99656" rms="0.239196"/>
            </waveblock>
            <waveblock start="9437184">
               <simpleblockfile filename="e00003ae.au" len="262144" min="-0.971456" max="0.987625" rms="0.249564"/>
            </waveblock>
            <waveblock start="9699328">
               <simpleblockfile filename="e0000d92.au" len="262144" min="-0.982411" max="0.985419" rms="0.239557"/>
            </waveblock>
            <waveblock start="9961472">
               <simpleblockfile filename="e00007eb.au" len="262144" min="-0.984851" max="0.972683" rms="0.144199"/>
            </waveblock>
            <waveblock start="10223616">
               <simpleblockfile filename="e0000a36.au" len="262144" min="-0.144893" max="0.172284" rms="0.023674"/>
            </waveblock>
            <waveblock start="10485760">
               <simpleblockfile filename="e0000eda.au" len="205952" min="-0.167581" max="0.175383" rms="0.021929"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Car Lock Sound Effect" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="16.56000000">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e00009b3.au" len="172103" min="-0.70624" max="0.634042" rms="0.047468"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="20.57696145">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e000039a.au" len="104430" min="-0.697711" max="0.627476" rms="0.053399"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="23.67438816">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e00009b3.au" len="172103" min="-0.70624" max="0.634042" rms="0.047468"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="27.68921030">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e000039a.au" len="104430" min="-0.697711" max="0.627476" rms="0.053399"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
   </wavetrack>
   <wavetrack name="Car Lock Sound Effect" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="16.56000000">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e0000d59.au" len="172103" min="-0.70624" max="0.634042" rms="0.047468"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="20.57696145">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e000068f.au" len="104430" min="-0.697711" max="0.627476" rms="0.053399"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="23.67438816">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e0000d59.au" len="172103" min="-0.70624" max="0.634042" rms="0.047468"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="27.68921030">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e000068f.au" len="104430" min="-0.697711" max="0.627476" rms="0.053399"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="14.27368454">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="292405">
            <waveblock start="0">
               <simpleblockfile filename="e0000faf.au" len="148702" min="-0.776794" max="0.970215" rms="0.132022"/>
            </waveblock>
            <waveblock start="148702">
               <simpleblockfile filename="e0000bb1.au" len="143703" min="-1.0" max="0.974213" rms="0.152028"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="21.36275655">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="292405">
            <waveblock start="0">
               <simpleblockfile filename="e0000faf.au" len="148702" min="-0.776794" max="0.970215" rms="0.132022"/>
            </waveblock>
            <waveblock start="148702">
               <simpleblockfile filename="e0000bb1.au" len="143703" min="-1.0" max="0.974213" rms="0.152028"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="14.27368454">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="292405">
            <waveblock start="0">
               <simpleblockfile filename="e0000813.au" len="148702" min="-0.776733" max="0.970215" rms="0.132022"/>
            </waveblock>
            <waveblock start="148702">
               <simpleblockfile filename="e0000d80.au" len="143703" min="-1.0" max="0.974243" rms="0.152028"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="21.36275655">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="292405">
            <waveblock start="0">
               <simpleblockfile filename="e0000813.au" len="148702" min="-0.776733" max="0.970215" rms="0.132022"/>
            </waveblock>
            <waveblock start="148702">
               <simpleblockfile filename="e0000d80.au" len="143703" min="-1.0" max="0.974243" rms="0.152028"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="28.25119489">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="318106">
            <waveblock start="0">
               <simpleblockfile filename="e00008dd.au" len="159053" min="-1.0" max="0.972992" rms="0.16429"/>
            </waveblock>
            <waveblock start="159053">
               <simpleblockfile filename="e0000ba3.au" len="159053" min="-0.011353" max="0.010773" rms="0.000447"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="28.25119489">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="318106">
            <waveblock start="0">
               <simpleblockfile filename="e0000f16.au" len="159053" min="-1.0" max="0.972992" rms="0.164289"/>
            </waveblock>
            <waveblock start="159053">
               <simpleblockfile filename="e0000231.au" len="159053" min="-0.011353" max="0.010773" rms="0.000447"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="31.41357079">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="178645">
            <waveblock start="0">
               <simpleblockfile filename="e0000804.au" len="178645" min="-0.812831" max="0.812806" rms="0.169096"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="31.41357079">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="178645">
            <waveblock start="0">
               <simpleblockfile filename="e0000d3e.au" len="178645" min="-0.812831" max="0.812806" rms="0.169096"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="35.19695705">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="326583">
            <waveblock start="0">
               <simpleblockfile filename="e00004ff.au" len="163291" min="-0.576447" max="0.716248" rms="0.117792"/>
            </waveblock>
            <waveblock start="163291">
               <simpleblockfile filename="e0000713.au" len="163292" min="-0.637421" max="0.968994" rms="0.130689"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="35.19695705">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="326583">
            <waveblock start="0">
               <simpleblockfile filename="e0000ebf.au" len="163291" min="-0.576477" max="0.716217" rms="0.117792"/>
            </waveblock>
            <waveblock start="163291">
               <simpleblockfile filename="e0000213.au" len="163292" min="-0.637421" max="0.968964" rms="0.130689"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="39.21340270">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="377496">
            <waveblock start="0">
               <simpleblockfile filename="e0001aa0.au" len="262144" min="-0.596316" max="0.939301" rms="0.07114"/>
            </waveblock>
            <waveblock start="262144">
               <simpleblockfile filename="e0001f02.au" len="115352" min="-0.811801" max="1.184819" rms="0.11694"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="39.21340270">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="377496">
            <waveblock start="0">
               <simpleblockfile filename="e000152d.au" len="262144" min="-0.596316" max="0.939301" rms="0.07114"/>
            </waveblock>
            <waveblock start="262144">
               <simpleblockfile filename="e0001a10.au" len="115352" min="-0.81176" max="1.18486" rms="0.11694"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="44.50632653">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="446209">
            <waveblock start="0">
               <simpleblockfile filename="e0001937.au" len="262144" min="-0.582092" max="0.901763" rms="0.088837"/>
            </waveblock>
            <waveblock start="262144">
               <simpleblockfile filename="e0001e58.au" len="184065" min="-0.876653" max="1.252502" rms="0.116798"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="44.50632653">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="446209">
            <waveblock start="0">
               <simpleblockfile filename="e0001b1c.au" len="262144" min="-0.582145" max="0.901657" rms="0.088837"/>
            </waveblock>
            <waveblock start="262144">
               <simpleblockfile filename="e0001c96.au" len="184065" min="-0.876653" max="1.252502" rms="0.116798"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="54.13299637">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="139039">
            <waveblock start="0">
               <simpleblockfile filename="e0001435.au" len="139039" min="-0.582154" max="1.071806" rms="0.066334"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="54.13299637">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="139039">
            <waveblock start="0">
               <simpleblockfile filename="e0001713.au" len="139039" min="-0.582195" max="1.071847" rms="0.066334"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="51.30877417">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="252694">
            <waveblock start="0">
               <silentblockfile len="252694"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="59.22917786">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e0001fcb.au" len="172103" min="-0.941786" max="0.845508" rms="0.0633"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="63.24613931">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e00012ab.au" len="104430" min="-0.930412" max="0.836753" rms="0.071209"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="66.34356602">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e0001560.au" len="172103" min="-0.941786" max="0.845508" rms="0.0633"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="70.35838816">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e00011ec.au" len="104430" min="-0.930412" max="0.836753" rms="0.071209"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="51.30877417">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="252694">
            <waveblock start="0">
               <silentblockfile len="252694"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="59.22917786">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e0001b9c.au" len="172103" min="-0.941786" max="0.845508" rms="0.0633"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="63.24613931">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e0001437.au" len="104430" min="-0.930412" max="0.836753" rms="0.071209"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="66.34356602">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="172103">
            <waveblock start="0">
               <simpleblockfile filename="e0001932.au" len="172103" min="-0.941786" max="0.845508" rms="0.0633"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="3.902539682540" val="1.000000000000"/>
         </envelope>
      </waveclip>
      <waveclip offset="70.35838816">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="104430">
            <waveblock start="0">
               <simpleblockfile filename="e0001eac.au" len="104430" min="-0.930412" max="0.836753" rms="0.071209"/>
            </waveblock>
         </sequence>
         <envelope numpoints="1">
            <controlpoint t="0.000000000000" val="1.000000000000"/>
         </envelope>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="56.78900996">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e000167c.au" len="153365" min="-1.02521" max="1.293477" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="60.33325458">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001dde.au" len="153365" min="-1.02521" max="1.293477" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="63.90380329">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001cb1.au" len="153365" min="-1.02521" max="1.293477" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="67.44001347">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001a93.au" len="153365" min="-1.02521" max="1.293477" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="56.78900996">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001fbe.au" len="153365" min="-1.025169" max="1.293436" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="60.33325458">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001263.au" len="153365" min="-1.025169" max="1.293436" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="63.90380329">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001099.au" len="153365" min="-1.025169" max="1.293436" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
      <waveclip offset="67.44001347">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="153365">
            <waveblock start="0">
               <simpleblockfile filename="e0001801.au" len="153365" min="-1.025169" max="1.293436" rms="0.087873"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="SEX Woman getting Screwed Sound Effect &#xd83d;&#xdd14;&#xd83d;&#xdd0a;" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="0.00000000">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="316030">
            <waveblock start="0">
               <simpleblockfile filename="e0001213.au" len="158015" min="-0.142457" max="0.109358" rms="0.010339"/>
            </waveblock>
            <waveblock start="158015">
               <simpleblockfile filename="e000125a.au" len="158015" min="-0.116736" max="0.07899" rms="0.010281"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="SEX Woman getting Screwed Sound Effect &#xd83d;&#xdd14;&#xd83d;&#xdd0a;" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="0.00000000">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="316030">
            <waveblock start="0">
               <simpleblockfile filename="e00019f0.au" len="158015" min="-0.147007" max="0.129311" rms="0.011243"/>
            </waveblock>
            <waveblock start="158015">
               <simpleblockfile filename="e0001bc5.au" len="158015" min="-0.137243" max="0.101028" rms="0.012482"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Metal Chain Sound Effect" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="5.83657596">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="324407">
            <waveblock start="0">
               <simpleblockfile filename="e0001f3d.au" len="162203" min="-0.403118" max="0.420016" rms="0.019741"/>
            </waveblock>
            <waveblock start="162203">
               <simpleblockfile filename="e0001fe4.au" len="162204" min="-0.661924" max="0.659064" rms="0.022114"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Metal Chain Sound Effect" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="5.83657596">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="324407">
            <waveblock start="0">
               <simpleblockfile filename="e0001f93.au" len="162203" min="-0.403118" max="0.420016" rms="0.019741"/>
            </waveblock>
            <waveblock start="162203">
               <simpleblockfile filename="e000180f.au" len="162204" min="-0.661924" max="0.659064" rms="0.022114"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="53.85451410">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="91382">
            <waveblock start="0">
               <simpleblockfile filename="e0001091.au" len="91382" min="-0.495605" max="0.836884" rms="0.074703"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
   <wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0">
      <waveclip offset="53.85451410">
         <sequence maxsamples="262144" sampleformat="262159" numsamples="91382">
            <waveblock start="0">
               <simpleblockfile filename="e0001172.au" len="91382" min="-0.495605" max="0.836884" rms="0.074703"/>
            </waveblock>
         </sequence>
         <envelope numpoints="0"/>
      </waveclip>
   </wavetrack>
</project>


Please post below if you have a solution to this error!!! Thank you in advance
Last edited by waxcylinder on Tue May 16, 2017 10:16 pm, edited 1 time in total.
Reason: code tags added for readability
lullult50
 
Posts: 1
Joined: Tue May 16, 2017 5:42 pm
Operating System: Windows 10

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by steve » Wed May 17, 2017 12:39 pm

Here is a fixed version. You will need to rename it with the original file name.
fixed-version.txt
(44.63 KiB) Downloaded 14 times


Here is how to fix this type of problem:

First, make a backup copy of the AUP file and put it somewhere safe.

Open the .AUP file in a plain text editor (I'd recommend NotePad++) and go down to line 714 (NotePad++ can show line numbers).
Then delete the illegal characters:
Code: Select all
 &#xd83d;&#xdd14;&#xd83d;&#xdd0a;

Do the same for line 727, then save the file.

IMPORTANT: The file must be saved as "plain text" and must have the original file name (including the ".aup" file extension).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45379
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Gale Andrews » Wed May 17, 2017 3:11 pm

Also for future reference, here is the FAQ about it: http://manual.audacityteam.org/man/faq_errors.html#nwf.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26089
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Yarn366 » Sun May 21, 2017 12:14 am

The problem here, as well as several previous cases like this, is that Audacity is saving Unicode supplementary characters (those outside the U+0000..U+FFFF range) as surrogate pairs instead of the required 5- or 6-digit values.

In this case, the problem characters are a bell and a speaker icon, which have the Unicode values U+1F514 U+1F50A (notice that both have five digits, not four). These should be saved in AUP files as &#x1F514;&#x1F50A;, but instead what's being saved are the surrogates that would be used to represent these characters in UTF-16.

How does Audacity store strings internally? If it's with a 2-byte character type (that includes wchar_t in Windows), then the most likely cause is a failure to convert surrogate pairs to the appropriate XML representations. (And if the strings use wchar_t on all platforms, then this is probably a Windows-only issue, because wchar_t is 2 bytes in Windows and 4 bytes in Linux and probably macOS.)
Yarn366
 
Posts: 13
Joined: Sat May 20, 2017 11:31 pm
Operating System: Windows 7

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Gale Andrews » Sun May 21, 2017 1:57 pm

I am not an expert in this but the AUP files are saved as UTF-8 if they include Unicode characters, otherwise ANSI.

The problem occurs on Mac too. We fail problem characters as in the example here because when we tried to parse them before, Audacity would crash.

In my experiments on Windows 10, I saved an AUP file with é as track name then added &#x1F514;&#x1F50A; to the name in Notepad++. The Audacity track name did then show the bell and speaker. The project was usable until I saved it in Audacity for example by deleting some audio then save. Next time I reopened the project, the syntax error returned.

Developers don't read here, but if you subscribed to our developers mailing list (sign up at https://lists.sourceforge.net/lists/listinfo/audacity-devel) and posted there, then the developers would be able to interact with you.


Gale

Yarn366 wrote:The problem here, as well as several previous cases like this, is that Audacity is saving Unicode supplementary characters (those outside the U+0000..U+FFFF range) as surrogate pairs instead of the required 5- or 6-digit values.

In this case, the problem characters are a bell and a speaker icon, which have the Unicode values U+1F514 U+1F50A (notice that both have five digits, not four). These should be saved in AUP files as &#x1F514;&#x1F50A;, but instead what's being saved are the surrogates that would be used to represent these characters in UTF-16.

How does Audacity store strings internally? If it's with a 2-byte character type (that includes wchar_t in Windows), then the most likely cause is a failure to convert surrogate pairs to the appropriate XML representations. (And if the strings use wchar_t on all platforms, then this is probably a Windows-only issue, because wchar_t is 2 bytes in Windows and 4 bytes in Linux and probably macOS.)
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26089
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Gale Andrews » Fri May 26, 2017 7:44 pm

Gale Andrews wrote:I am not an expert in this but the AUP files are saved as UTF-8 if they include Unicode characters, otherwise ANSI.

The problem occurs on Mac too. We fail problem characters as in the example here because when we tried to parse them before, Audacity would crash.

In my experiments on Windows 10, I saved an AUP file with é as track name then added &#x1F514;&#x1F50A; to the name in Notepad++. The Audacity track name did then show the bell and speaker. The project was usable until I saved it in Audacity for example by deleting some audio then save. Next time I reopened the project, the syntax error returned.

Looking more closely I can indeed see that the project save by Audacity converts the &#x1F514; in the AUP file to the UTF-16 hex pair &#xd83d;&#xdd14;. So, looks like a bug. I only tested on Windows so far. I'll report it when I finish testing.

Thanks for your input, Yarn366.


Gale

Yarn366 wrote:The problem here, as well as several previous cases like this, is that Audacity is saving Unicode supplementary characters (those outside the U+0000..U+FFFF range) as surrogate pairs instead of the required 5- or 6-digit values.

In this case, the problem characters are a bell and a speaker icon, which have the Unicode values U+1F514 U+1F50A (notice that both have five digits, not four). These should be saved in AUP files as &#x1F514;&#x1F50A;, but instead what's being saved are the surrogates that would be used to represent these characters in UTF-16.

How does Audacity store strings internally? If it's with a 2-byte character type (that includes wchar_t in Windows), then the most likely cause is a failure to convert surrogate pairs to the appropriate XML representations. (And if the strings use wchar_t on all platforms, then this is probably a Windows-only issue, because wchar_t is 2 bytes in Windows and 4 bytes in Linux and probably macOS.)
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26089
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Yarn366 » Wed Jun 07, 2017 12:03 am

I tested this in Ubuntu 17.04 (running in VirtualBox 5.1.22, though that shouldn't matter) using the same characters as before. Audacity had no problem loading an AUP file containing the correct character codes, as expected. The resaved AUP file, however, contained the characters themselves rather than codes for surrogate pairs. So, this seems like a Windows-only issue, and is probably caused by internal strings using wchar_t as its character type and the 2-byte version of wchar_t not being interpreted correctly when it's part of a surrogate pair.
Yarn366
 
Posts: 13
Joined: Sat May 20, 2017 11:31 pm
Operating System: Windows 7

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Gale Andrews » Wed Jun 07, 2017 11:40 am

A patch or Git pull request is welcome, if you are a developer.


Gale


Yarn366 wrote:I tested this in Ubuntu 17.04 (running in VirtualBox 5.1.22, though that shouldn't matter) using the same characters as before. Audacity had no problem loading an AUP file containing the correct character codes, as expected. The resaved AUP file, however, contained the characters themselves rather than codes for surrogate pairs. So, this seems like a Windows-only issue, and is probably caused by internal strings using wchar_t as its character type and the 2-byte version of wchar_t not being interpreted correctly when it's part of a surrogate pair.
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26089
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: "Error reference to invalid character number at line 714

Permanent link to this post Posted by Yarn366 » Thu Jun 08, 2017 10:59 pm

Fixing this turned out to be not very difficult. Here is the pull request:

https://github.com/audacity/audacity/pull/197
Yarn366
 
Posts: 13
Joined: Sat May 20, 2017 11:31 pm
Operating System: Windows 7


Return to Windows



Who is online

Users browsing this forum: DVDdoug and 8 guests