I have this project which uses the directory Λ (Greek Lamba)
mtn add Λ
mtn.EXE: error: could not open directory 'dekcore/?': The filename,
directory name, or volume label syntax is incorrect.
1) the input from command line to main( int argc, char **argv ) gets a '?'
2) using GetCommandLine() returns command line with '?' in it.
3) using GetCOmmandLineW() returns with correct character in it, but
In my own project today (after discovering this, and trying to locate
where the failure is) I now do GetCommandLineW() convert it to utf-8,
parse it using windows command line rules (quoted things stay
together, otherwise break on spaces) and then use it normally
internally until I get to the file system again, which I do convert
the utf-8 string to wchar_t ( which is probably UCS2 and not UTF16)
and then pass the filename to wfopen()... ( CreateFileW() if
C:\>mtn genkey Λ@Λ.com
mtn.EXE: misuse: bad character '?' in key name '?@?.com'
binary equivalence is sufficient; I know that tecnically canonical
conversions (changing characters to other characters that are really
the same shape) apply... but I know that sqlite takes what you give it
and doesn't care, and I know that sockets take and send stuff and
don't care... so I don't really know what sorts of applications I
would even remotely touch that did canonical replacements that destroy
On Thu, Apr 21, 2016 at 2:13 AM, Markus Wanner <[hidden email]> wrote:
> On 04/21/2016 01:20 AM, J Decker wrote:
>> This fails under windows.
>> I have this project which uses the directory Λ (Greek Lamba)
>> "mkdir Λ"
>> mtn add Λ
> Thanks for your report. I vaguely remember that monotone has encoding
> issues on Windows.
> I also noticed that the recently added colorization feature breaks
> things on (non-cygwin-)Windows, so I guess I'll have to look at that OS
> rather sooner than later.
> Kind Regards
> Markus Wanner
> Monotone-devel mailing list
> [hidden email] > https://lists.nongnu.org/mailman/listinfo/monotone-devel