Show 17 quoted lines
> On Samstag, 28. November 2009, Thomas Singer wrote:
>> I've created a file with unicode characters in its name (using Java):
>>
>> new File(dir, "\u3041\u3042\u3043\u3044").createNewFile();
>> ...
>> $ git add .
>> fatal: unable to stat '????': No such file or directory
>>
>> What should I do to make Git recognize these characters?
>
> You cannot on a German Windows.
>
> You can switch your Windows to Japanese (not the UI, just the codepage
> aka "locale"; yes, that's possible, I have such a setup), but even then the
> characters of the file name will be recorded in Shift-JIS encoding, not UTF-8
> or Unicode. When you later switch back to German, these bytes will be
> interpreted as cp850 or cp1252 text and displayed accordingly.