rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: tails_ on February 06, 2011, 08:33:02 PM

Title: Files\Folders with non-ASCII characters not shown
Post by: tails_ on February 06, 2011, 08:33:02 PM
For example if i try to upload file with 日本語 in filename it will fail with creating file error
PS Using build #273
PPS iirc older betas replaced filenames with "?" though they still can't be downloaded v_v
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: rejetto on February 10, 2011, 10:30:15 PM
hfs has a limited unicode support, at the moment.
non-ascii characters are supported limited to the local characters table (yours may be cyrillic).
it's hard to support it because the tool i use to make HFS does not support it too.
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: tails_ on February 11, 2011, 09:25:36 AM
Found nice bugfeature. if you run hfs though applocale (with japanese locale) it shows just everything and it works fine just interface looks wierd :D
but last builds shows excution error at startup so i'm using 248 build currently.
PS have you changed compiler since that build?
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: rejetto on February 16, 2011, 02:37:26 PM
nope.
does #249 work?
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: tails_ on February 17, 2011, 08:02:00 AM
Checked now. it works up to 260 then from 261 to 266  it does nothing and exits or hangs showing nothing and finally from 267 it shows error screen.
PS applocale starts to identify native locale as italian from 261 build
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: rejetto on March 01, 2011, 12:24:50 PM
ok, your effort was in the right direction and it's likely the problem was introduced in #261.
i studied the changes and narrowed down the possibilities to few things
1. a change in the font
2. updating of the networking lib
3. changing of type for character pointers

In next release (275) i tried to fix point 1. I fear i can't do nothing for point 2, and will change point 3 only if necessary.
Stay tuned.
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: tails_ on March 01, 2011, 01:42:52 PM
Thanks I'll wait ::)
Title: Re: Files\Folders with non-ASCII characters not shown
Post by: rejetto on March 01, 2011, 03:58:43 PM
published
http://www.rejetto.com/forum/index.php/topic,9484.new.html