Re: Failed to add path with wide character
J Decker <[email protected]> Thu, 21 Apr 2016 13:27:59 -0700
| Newsgroups | gmane.comp.version-control.monotone.devel |
|---|---|
| Message-ID | <CAA2GJqWLgLFBARNMAHnNqUMTjjX5CbQZ5ZbLjAUprdZ=nBRNAg@mail.gmail.com> |
int ConvertToUTF16( wchar_t *output, TEXTRUNE rune ) https://github.com/d3x0r/SACK/blob/master/src/typelib/text.c#L2735 int ConvertToUTF8( char *output, TEXTRUNE rune ) https://github.com/d3x0r/SACK/blob/master/src/typelib/text.c#L2760 /* CTEXTSTR is LPTSTR, that is with _UNICODE it's wchar_t without it's char */ TEXTRUNE GetUtfChar( CTEXTSTR *from ) https://github.com/d3x0r/SACK/blob/master/src/typelib/text.c#L3094 *shrug* I know there's a 'unicode' library but it's truly large.. and certainly wcstombs/mbstowcs are useless in this regard... they do add up to a couple hundred lines of code.... http://utf8everywhere.org/ 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 binary equivalence. On Thu, Apr 21, 2016 at 2:13 AM, Markus Wanner <[email protected]> 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 > [email protected] > https://lists.nongnu.org/mailman/listinfo/monotone-devel _______________________________________________ Monotone-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/monotone-devel