On 14 December 2016 at 15:54, Nikolay Sivov nsivov@codeweavers.com wrote:
On 12/14/2016 05:45 PM, Lauri Kenttä wrote:
On 2016-12-14 12:23, Henri Verbeet wrote:
For what it's worth, note also that Wine has wine_fold_string(), which should be consistent with FoldString().
I don't see what FoldString could do here.
MAP_FOLDDIGITS looks relevant to what you're doing.
Yeah. MAP_FOLDDIGITS will map the various unicode digits to 0-9. It does that based on the unicode tables, which means you wouldn't have to maintain a separate list of unicode digit ranges in msvcrt. That assumes wcstoi64() is consistent with FoldString(), which of course it may not be.