Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 22:50:01 +1100
From:      Tim Robbins <tjr@freebsd.org>
To:        Alexander Zagrebin <alexz@visp.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RELENG_5_2 ntfs mounting problem
Message-ID:  <20031216115001.GA6913@wombat.robbins.dropbear.id.au>
In-Reply-To: <200312121243.11908.alexz@visp.ru>
References:  <200312121243.11908.alexz@visp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 12, 2003 at 12:43:11PM +0300, Alexander Zagrebin wrote:

> Hi!
> 
> The FreeBSD 5.2-RC has problem with russian (cyrillic) file names on NTFS 
> volumes. 
> If the file name is "????" (hex: 0xd4 0xc5 0xd3 0xd4), then after mounting its 
> name looks like 0xff 0xd4 0xff 0xc5 0xff 0xd3 0xff 0xd4, so file is 
> inaccessible.
> I reason is in function "wchar ntfs_u28" (file ntfs_subr.c).
> This function returns value of outbuf (char), converted to wchar. The highest 
> bit of russian characters (koi8-r encoding) is always 1, so this conversion 
> works incorrectly (data type char is signed). 

Thanks for the report. This has been fixed in -current. I'll try to
get it committed to RELENG_5_2 before the release if possible.


Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031216115001.GA6913>