Subj : spaces in filenames To : apam From : Digital Man Date : Wed Jan 19 2022 12:02 am Re: spaces in filenames By: apam to Oli on Sun Jan 16 2022 09:53 am > -=> On Sat Jan 15 19:00:00 2022, Oli wrote to All <=- > > > How does Binki handle spaces in filenames? Does it escape and unescape " > > " and "\x20"? I couldn't find anything in the sources. > > It doesn't. I'm testing a change now to escape / unescape spaces and other > reserved characters. The format is apparently \20 not \x20 for binkp I think it's actually supposed to be '\xXX' (and just just \x20 for space). This is what BinkIT does (for both encode and decode of filename parameters) and it appears to jive with FTS-1026. > As for \x20 - I guess this is handled by the C++ filesystem std library, i > don't know. Nope. '\x20' is character literal in C/C++, but that's a sequence that would be converted at compile time, not run-time, so there's no special filesystem support for that style of escape sequence. :-) -- digital man (rob) Breaking Bad quote #38: Don't drink and drive, but when you do, call Saul. Norco, CA WX: 53.5øF, 91.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs .