Serious ;-): How does Windows pass non-ascii filename to executable?

Shaddy Baddah Shaddy_Baddah@hotmail.com
Tue Nov 1 06:20:00 GMT 2005


Hi Igor,

Igor Pechtchanski wrote:
[snip]
> Microsoft uses jumping hippos to cram wide characters into narrow
                 ^

Bah! Typical Microsoft. All they needed to do was use a h instead of a
j, and they would have had a far more effective solution.

> applications.  This is all described quite clearly in this MSDN article:
> <http://msdn.microsoft.com/library/en-us/vccelng/htm/basic_20.asp>.  Don't

Thanks very much for that.

> Making the app non-console has nothing to do with this.  Even with WinMain
> (which is probably what you were thinking about), you have to use the
> hippos (i.e., the initial "w") to make it Unicode.

And equally so for this.

Best regards,
Shaddy



More information about the Cygwin-talk mailing list