Ticket UUID: | d23fb0b742ac2e989e36bfef98281f970ab34e8f | ||
Title: | i18n for commit comments | ||
Status: | Open | Type: | Feature_Request |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Open | |
Last Modified: | 2009-10-11 20:11:34 | ||
Version Found In: | aa57354736 | ||
Description & Comments: | |||
Using Fossil under Windows Vista, all works just perfect, thank you!
One thing to fix: for 'fossil commit' there should be some hook to convert a file after it leaves EDITOR and before it get into Fossil database. EDITOR (a program with command line got from 'EDITOR' environment variable) most often using default 8-bit console charset (for Cyrillic it is 'Windows-1251' under Windows and 'KOI8-R' under Unix), but in the Fossil repo there is 'UTF-8' encoding. When I do commit with a Cyrillic (Russian) text in comment, Fossil put it into db w/o conversion (as Windows-1251), and when displaing it in UTF-8 UI it becomes unreadable. So it should be hook for convertor or some internal option or command line for iconv. Something like these GIT's options (from .gitconfig): [i18n] commitencoding = windows-1251 logoutputencoding = cp866 anonymous added on 2009-09-15 18:17:06: fprintf(g.httpOut, "Content-Type: %s; charset=utf-8\r\n", zContentType);configurable... anonymous claiming to be Dmitry Chestnykh added on 2009-10-11 20:11:34: Major Linux distributions, Mac OS X come with UTF-8 terminals by default, and Windows has it as an option, AFAIK. |