Artifact 4da08efcb09376801267b71fb7e8d89d86d07ef3
Ticket change
[4da08efcb0]
- New ticket 5317b79552 i18n for filenames.
by
anonymous on
2009-09-24 13:20:30.
D 2009-09-24T13:20:30
J comment When\sI\srun\s"fossil.exe\sadd\sdir"\sunder\sWindows,\sfossil\srecursively\sadding\sall\sfiles.\sIf\sthere\sare\sfiles\swith\snon-ascii\snames\s(Russian\sin\smy\scase),\sthey\sinserted\sinto\sfossil\srepo\susing\ssystem\sdefault\sencoding\s('windows-1251'\sin\sWindows\swith\sRussian\slocale),\sand\sfossil\sworks\swith\sthem\sw/o\sproblems.\sBut\sin\sthe\sweb-interface\son\sthe\sfiles\spage\s(/dir)\sthese\sfiles\sshown\swith\sunreadable\snames.\sThis\sis\sbecause\sof\sUTF-8\s<verbatim>fprintf(g.httpOut,\s"Content-Type:\s%s;\scharset=utf-8\\r\\n",\szContentType);</verbatim>\sin\sthe\sHTTP\sreply\sheader\s(cgi.c).\r\n\r\nPlease\s<b>delete\s";\scharset=utf-8"\spart</b>\sfrom\sContent-Type\sheader\sbecause\sthere\sno\sCP\sconvertor\sin\sthe\sfossil.\sThis\swill\sallow\sto\sset\sany\scharset\sin\sthe\sMETA\stags\sin\sthe\spage\sheader\stemplate\sand\suse\sbrowser's\sinternal\sCP\sconvertor\sor\sCP\sautodetector.\r\n\r\nThis\swill\salso\ssolve\sa\sproblem\sfrom\sthe\sticket\s[d23fb0b742ac2e989e36bfef98281f970ab34e8f],\sI\sthink.
J foundin f969b6cdde
J private_contact 09bcfe9beb6bd1f9361d71b153c193630ed2ac65
J severity Severe
J status Open
J title i18n\sfor\sfilenames
J type Code_Defect
K 5317b79552cc460c4ff9fd27d4589e7fb619e727
U anonymous
Z ea6a4e5bccbabd71034277535df3be61