[Fwd: Re: [physfs] Problems with non-ASCII characters]

Ulf Lorenz ulf82 at users.sf.net
Sun Nov 13 17:57:53 EST 2005


On Sat, Nov 12, 2005 at 09:27:54PM -0500, Ryan C. Gordon wrote:
> 
> > I use paragui and want to access a themefile. However, if this themefile
> > is located under a directory with some non-US characters, it is not
> > found. Now I have browsed the code of paragui and it looks as if the
> > problem is not there (the code is quite straightforward, the characters
> > are passed over to physfs quite directly). So I wanted to ask if physfs
> > has problems with this etc.
> 
> PhysicsFS can't handle multibyte characters, if they might contain a
> null byte...so a UCS-16 encoded filename won't work in most cases.
> 
> Mostly this is because we're using the ANSI C string functions internally.
> 
> I'm pretty sure UTF-8 encoded filenames should work (or, at least, the
> fixes would be relatively trivial).
Well, according to the original bug submitter, this problem has
vanished. Don't ask me why. Since paragui has not changed and we still
call the same function, maybe there has been a fix in physfs??? Anyway,
thanks for the answer.


cu,
Ulf

-- 
recursive:
            see recursive



More information about the physfs mailing list