From: Timur Sufiev Date: Wed, 28 Oct 2009 07:15:29 GMT Subject: Re: [PATCH 1/4] Add routines for filenames encoding <-> UTF-8 Message-ID: <4ae7ef9d.0f1abc0a.5b53.1a73@mx.google.com> In-Reply-To: >> If `i18n.filenameslocalencoding' option was set via git-config to a >> correct encoding, 2 things should be done: > > Windows supports UTF-16 file names, but need to use wchar_t APIs for fopen() > and friends. Have you looked at any of that? No, I didn't look towards Windows handling of Unicode, because Git under Windows works well enough without that: I've built Git in MinGW/MSYS environmment (using the patches we're discussing) and it handles cyrillic filenames in Windows ANSI CP1251 codepage just as was planned: writes filenames to tree objects in UTF-8, checks out them into working dir in CP1251, other stuff as git-clone, git-diff, git-status, etc also works ok. One remaining issue (offtopic here, as far as I understand) to make TortoiseGit work with UTF-8 Git's output. > -- > \\// Peter - http://www.softwolves.pp.se/ -- Timur Sufiev