[PATCH 3/3] msvcrt: Make wcstoi64 support various Unicode digits.

Henri Verbeet hverbeet at gmail.com
Wed Dec 14 08:59:31 CST 2016


On 14 December 2016 at 15:54, Nikolay Sivov <nsivov at 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.



More information about the wine-devel mailing list