On Windows 7, 64-bits.

After upgrading from fossil version [d8221b9863] 2011-05-12 14:56:52 UTC to [474850cff5] 2011-05-23 15:11:12, I noticed that a few files were reported as DELETED (using addremove), whereas they still existed on disk.

The problem is fairly easy to duplicate with a fresh repository, but querying extras in a directory containing one file with non-ascii char (², subscript two), and one file with no such character.  The file with NO non-ascii char is listed, the other one isn't.

Steps to reproduce:

<pre>
C:\data>dir
 Volume in drive C is OS
 Volume Serial Number is ADDE-9D00

 Directory of C:\data

27-mei-2011  13:16    <DIR>          .
27-mei-2011  13:16    <DIR>          ..
10-dec-2009  12:02             1.615 ax²+bx+c=0.png
08-apr-2010  17:42               760 bbc-logo-in-qr-code.png
               2 File(s)          2.375 bytes
               2 Dir(s)  bytes free

C:\data>fossil init repo
project-id:
server-id:
admin-user: MCo (initial password is "82150c")

C:\data>fossil open repo

C:\data>fossil extras
bbc-logo-in-qr-code.png

C:\data>fossil addremove
ADDED  bbc-logo-in-qr-code.png
added 1 files, deleted 0 files
</pre>


What puzzles me somewhat, is that <code>extras</code> doesn't see the special filename, but once I've added the file manually, it doesn't get removed either:

<pre>
C:\data>fossil add ax²+bx+c=0.png
ADDED  ax²+bx+c=0.png

C:\data>fossil commit -m "test"
New_Version:

C:\data>fossil addremove
added 0 files, deleted 0 files
</pre>