Re: sorting order between win98/xp

From: Yung-Fong Tang (ftang@netscape.com)
Date: Thu Mar 13 2003 - 20:20:49 EST

  • Next message: Yung-Fong Tang: "Re: wap and utf-8"

    do you use
    LCMapStringW on WinXP and LCMapStringA on Win98 WITH LCMAP_SORTKEY to
    genearate the SORT KEY ?

    Have you try on both platforms ? (Win98 and WinXP)?

    Michael (michka) Kaplan wrote:

    >LCMapString does not do the reported behavior either. ComparesString
    >and LCMapString are based on the same data and return the same
    >results.
    >
    >Your colleague is mistaken.
    >
    >MichKa
    >
    >----- Original Message -----
    >From: "Yung-Fong Tang" <ftang@netscape.com>
    >To: "Michael (michka) Kaplan" <michka@trigeminal.com>
    >Cc: <unicode@unicode.org>
    >Sent: Thursday, March 13, 2003 4:31 PM
    >Subject: Re: sorting order between win98/xp
    >
    >
    >
    >
    >>We cannot use that. The function you mention is to compare two
    >>
    >>
    >Unicode
    >
    >
    >>strings.
    >>We need the function to "generate sort key" from unicode strings
    >>
    >>
    >instead
    >
    >
    >>of compare two string.
    >>
    >>Michael (michka) Kaplan wrote:
    >>
    >>
    >>
    >>>From: "Yung-Fong Tang" <ftang@netscape.com>
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>>One of my colleague ask me this question.
    >>>>
    >>>>
    >>>>
    >>>>
    >>>In the interests of completeness....
    >>>
    >>>The function that does the type of sorting your colleague noted is
    >>>StrCmpLogicalW in shlwapi.dll, version 5.5 and later. See the
    >>>following link for more information (all on one line in the
    >>>
    >>>
    >browser):
    >
    >
    >>http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/refere
    >>
    >>
    >nce/shlwapi/string/strcmplogicalw.asp
    >
    >
    >>>MichKa
    >>>
    >>>
    >>>
    >>>
    >>>
    >>
    >>
    >
    >
    >



    This archive was generated by hypermail 2.1.5 : Thu Mar 13 2003 - 21:59:43 EST