Bug 24

Summary: LSCP parser gets confused by apostrofe characters ( ' ) in filenames
Product: LinuxSampler Reporter: Per Sigmond <per>
Component: LSCPAssignee: Christian Schoenebeck <cuse>
Status: CLOSED FIXED    
Severity: normal CC: per
Priority: P2    
Version: SVN Trunk   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 47    

Description Per Sigmond 2005-09-15 13:52:37 CEST
Try something like this:

LOAD INSTRUMENT '/home/per/GigaSamples/Scarbee - R.S.P. '73 - Classic.gig'
0 0 ERR:0:Unknown command.

(yes, the gig files on this Scarbee DVD actually have "'" in their names...)
Comment 1 Christian Schoenebeck 2007-06-19 18:08:39 CEST
This bug has been fixed in latest CVS version of LinuxSampler. Now you can use 
escape sequences to accomplish loading of instrumens with odd file names. In 
your case i.e.:

LOAD INSTRUMENT '/home/per/GigaSamples/Scarbee - R.S.P. \'73 - Classic.gig'

Beside the common directly literal escape sequences (\', \", \\, \n, \r, \f, 
\t, \v) you can also use escape sequences as octal values (i.e. \132) or as 
hex value (i.e. \xf2) representing the respective ASCII code of the character