Scrive Arno Garrels <[EMAIL PROTECTED]>: > Hello all, > > I stumbled across this function in (OverbyteIcs)NtlmMsg.pas today:
[...] > This works only with ASCII characters (Basic Latin 0000007F) reliable. > This method would work with Latin-1 Supplement 008000FF reliable too if > the OS would use codepage Latin-1 (ISO 8859-1), however there is no > such codepage in Windows, even though Windows 1252 is rather similar to > Latin-1 (ISO 8859-1). > > I think we must use MultiByteToWideChar() to convert Ansi to Unicode, > that would work either if both client and server use the same codepage or > if the server uses Unicode. But this doesn't work with Win9x. > > This is a lazy fix, since it doesn't use ConvertINetMultiByteToUnicode() > which we could call in Win95 with IE v5.5 and later: [...] > What do you think? Since the support of old Delphi version is dropped, why don't simply change to use a WideString and demand to Delphi to convert from MCBS to Unicode? Bye, Maurizio. ---------------------------------------------------- This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
