Hmmm... Or, if PSPad still built by Delphi 7, this can be ANSI-only ParamStr
issue. To avoid it, you should get Unicode command line via GetCommandLineW()
and then parse in manually with WideString-based functions.

When testing on surrogate-pair-named file, I had no problems with my program
built by Delphi 6, but used GetCommandLineW function as I wrote above.

-- 
<http://forum.pspad.com/read.php?2,67631,67647>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem