Use |AUTF8String| instead of |string|. URL strings are best represented as UTF-8. This is important since xpconnect needs to know what to do if it encounters a byte with the 8-th bit set.
ok... however, http://msdn.microsoft.com/workshop/misc/shortcuts/reference/iuniformresourcelocator_geturl.asp sems to leave it pretty unspecified what charset the string is in.
ResolveShortcut might be confusing here since the Win32 nsLocalFile implemenation already thinks of files that end with .lnk as shortcuts. Is there maybe a better name for files that end with .url? If not, then maybe we need to at least choose a more distinct name here to avoid confusion in our code.
hm, maybe ResolveURLShortcut? ResolveURLFile? _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib
