U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » [BUG] CommandLine() returns non-unicode arguments
Re: [BUG] CommandLine() returns non-unicode arguments [message #15277 is a reply to message #15245] Tue, 15 April 2008 07:07 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
exhu wrote on Fri, 11 April 2008 08:58

What I am sure about is that the command line MUST accept Unicode (int argc, WCHAR argv[]). This is a requirement for my utilities which must take file names via command line. And some files may be named using national characters.

But as for the console output, things are quite different here... I wouldn't change Cout() right now.


Well, we still have to maintain win98 compatibility... that is why we are using ANSI mode. Anyway, it looks like we can fix the issue using GetCommandLineW here.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Convert upp Font size to LOGFONT size
Next Topic: Time should contain msecs too
Goto Forum:
  


Current Time: Wed Jul 22 21:55:43 GMT+2 2026

Total time taken to generate the page: 0.00369 seconds