[Rpcemu] HostFS problem

Theo Markettos theo at markettos.org.uk
Fri Aug 7 10:45:50 PDT 2015

On Fri, Aug 07, 2015 at 03:25:38PM +0100, Sprow wrote:
> You could ask Theo nicely to try applying this patch to his Mac build:

The underlying problem is that RISC OS has no concept of character encoding
of filenames.  So change your alphabet and your filenames will change, and
there's no way to find out what encoding they're supposed to be.  This is a
bit of a headache because RISC OS 5 can use Unicode (UTF8) filenames, which
is what Mac or Linux are probably using, while Windows probably uses UTF16.
0xA0 is not a valid character in UTF8 or UTF16, hence lots of fun ensues.
Because most RISC OS users are in Western Europe their encoding is probably
ISO8859-1, but not necessarily.

Anyway, in the interests of perpetuating the status quo and not fixing the
underlying problem (it /is/ Friday afternoon), I've applied Sprow's patch.
That almost worked - I had to bodge it to use unsigned chars (which it
should be doing throughout, but I wasn't minded to change).

New zipfile 0.8.12-caliston-dev2:
I haven't given this more than a minute of testing, so feedback appreciated.


More information about the Rpcemu mailing list