On Mon, May 09, 2011 at 05:16:15PM -0400, Martin Gagnon wrote:

> > When I do "fossil ci" and I have no "editor" set fossil prompts me
> > for the checkin comment. Maybe fossil should convert that comment
> > into UTF-8 too (and convert it back for "fossil timeline").
> >
> > I did not found any other problems with cyrillic (Windows-1251)
> > codepage on Windows XP SP3 + fossil [9a63d1f048] 2011-05-06
> > 16:44:41 UTC. However due to the fact that fossil uses CP_ACP
> > (Windows-1251 in my case), and not CP_OEMCP (CP866) doing
> > "chcp 1251" is required to _see_ cyrillic filenames in
> > "fossil ls", "fossil diff" etc.
> >
> > "fossil test-echo" shows no problem too. But all these conversions
> > work only for a language which is the same as a system locale. When
> > I'm trying to add a file with a swedish name I get a "not found"
> > error because the filename loses diactrical marks (chcp does not
> > help). In Windows this problem is sometimes solved by detecting a
> > codepage from the current keyboard layout instead of using CP_ACP,
> > but it wouldn't help in the case of fossil.
> 
> In my case, codepage 850 (OEM Multilingual Latin 1; Western European
> (DOS)) is good enought (which is the default one in my installation).
> I tought fossil try to convert from current codepage to utf8, I didn't
> know that I should choose some codepage over other ones.
The console in Cyrillic Windows does really use two completely different
code pages for input and output.
Supposedly they are different for any l10n of Windows, as the OP stated,
just for some code pages like Latin-1 this makes no difference.

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to