Bug 24 - LSCP parser gets confused by apostrofe characters ( ' ) in filenames
Summary: LSCP parser gets confused by apostrofe characters ( ' ) in filenames
Status: CLOSED FIXED
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: LSCP (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P2 normal
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks: 47
  Show dependency tree
 
Reported: 2005-09-15 13:52 CEST by Per Sigmond
Modified: 2007-12-11 22:06 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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