Problem opening project : Can't recognize my file?

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
jeff-boy5000
Posts: 12
Joined: Sat Jun 18, 2011 7:30 pm
Operating System: Please select

Re: Problem opening project : Can't recognize my file?

Post by jeff-boy5000 » Sun Jun 19, 2011 9:42 pm

And by the way here's the file. The project name was Histoire de gars 004.
Attachments
Histoire de gars 004.aup
(95.97 KiB) Downloaded 90 times

billw58
Forum Staff
Posts: 5566
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Problem opening project : Can't recognize my file?

Post by billw58 » Mon Jun 20, 2011 4:54 am

The file you uploaded has three illegal characters at the start of the file, before the <?xml. Some text editors will display these characters, others will ignore them. The characters will render differently (if at all) depending on the encoding the text editor is expecting. For me they render as Ôªø. Opening the file in a hex editor I can see that the character values are 0xEF 0xBB and 0xBF. Do you have an editor that can see and remove these characters?

-- Bill

jeff-boy5000
Posts: 12
Joined: Sat Jun 18, 2011 7:30 pm
Operating System: Please select

Re: Problem opening project : Can't recognize my file?

Post by jeff-boy5000 » Mon Jun 20, 2011 5:46 pm

billw58 wrote:Do you have an editor that can see and remove these characters?

-- Bill
Well first thanks for telling me what might be the problem. But I can't see those characters at all, and I don't know what could be a hex editor. Is there a way I can find one?

Edgar
Forum Crew
Posts: 2042
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Problem opening project : Can't recognize my file?

Post by Edgar » Mon Jun 20, 2011 8:10 pm

I looked at the AUP as downloaded and did not see these chars (either in HEX or as characters). I only see two chars before the <?xml -- they are 0xFF and 0xFE. I created a 1 second generated noise project and opened the AUP file in a hex editor and see the exact same leading (not visible in a text editor) chars in my file.

jeff-boy5000
Posts: 12
Joined: Sat Jun 18, 2011 7:30 pm
Operating System: Please select

Re: Problem opening project : Can't recognize my file?

Post by jeff-boy5000 » Mon Jun 20, 2011 10:35 pm

Edgar wrote:I looked at the AUP as downloaded and did not see these chars (either in HEX or as characters). I only see two chars before the <?xml -- they are 0xFF and 0xFE.
Ok, so then what should I do to be able to open the file again?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Problem opening project : Can't recognize my file?

Post by Gale Andrews » Mon Jun 20, 2011 11:01 pm

Remove those illegal characters in a Hex editor like HxD. I've attached your .aup file with the three characters removed.

But how did they get in there?


Gale
Attachments
Histoire de gars 004.aup
Edited to remove illegal characters
(95.96 KiB) Downloaded 54 times
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

jeff-boy5000
Posts: 12
Joined: Sat Jun 18, 2011 7:30 pm
Operating System: Please select

Re: Problem opening project : Can't recognize my file?

Post by jeff-boy5000 » Mon Jun 20, 2011 11:14 pm

Gale Andrews wrote:Remove those illegal characters in a Hex editor like HxD. I've attached your .aup file with the three characters removed.

But how did they get in there?


Gale
First, let me tell you that the project works again, and I couldn't thank you enough. :D
Also, to be honest, I don't have a clue why those characters got in the text. Next time, I will use a proper way to edit it. I will try to download HxD when I'll have the time. Thanks!

Locked