History Of Ticket 5317b79552
Not logged in
Ticket change [2d8463b7ad] (rid 5346) by drh on 2009-09-24 14:32:43:
  1. Appended to comment:

    drh added on 2009-09-24 14:32:43:
    The fossil repository should store all filenames as UTF8. I think the bug here is that the "fossil add" command is not converting the names from the microsoft encoding into UTF8 before storing them.

  2. Change resolution to "Open"
Ticket change [4da08efcb0] (rid 5345) by anonymous on 2009-09-24 13:20:30:
  1. Change comment to "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; charset=utf-8\r\n", 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 [d23fb0b742ac2e989e36bfef98281f970ab34e8f], I think."
  2. Change foundin to "f969b6cdde"
  3. Change private_contact to "09bcfe9beb6bd1f9361d71b153c193630ed2ac65"
  4. Change severity to "Severe"
  5. Change status to "Open"
  6. Change title to "i18n for filenames"
  7. Change type to "Code_Defect"