A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/327370.html below:

Unicode-aware file shortcuts in Windows

Unicode-aware file shortcuts in Windows Unicode-aware file shortcuts in Windows"Martin v. Löwis" martin at v.loewis.de
Sat Sep 17 10:48:45 EDT 2005
John Bauman wrote:
> I see that another way is available here: 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/shortcuts/shortcut.asp
> I haven't tried, and I don't have the knowledge to convert the C++ to 
> Python, but it works at a lower level and may get around the bugs. It does 
> seem that the name of the file isn't Unicode in their method, either, so I'm 
> not sure if it'll work. 

There are two versions of the IShellLink interface: IShellLinkA and
IShellLinkW. You need to use the *W version to pass characters outside
the ANSI code page.

Regards,
Martin

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4