When I run "fossil.exe add dir" under Windows, fossil recursively adding all files. If there are files with non-ascii names (Russian in my case), they inserted into fossil repo using system default encoding ('windows-1251' in Windows with Russian locale), and fossil works with them w/o problems. But in the web-interface on the files page (/dir) these files shown with unreadable names. This is because of UTF-8 <verbatim>fprintf(g.httpOut, "Content-Type: %s; zContentType);</verbatim> in the HTTP reply header (cgi.c).

Please <b>delete "; charset=utf-8" part</b> from Content-Type header because there no CP convertor in the fossil. This will allow to set any charset in the META tags in the page header template and use browser's internal CP convertor or CP autodetector.

This will also solve a problem from the ticket I think.