Using Qt 4.3 on Windows XP.

If I pass to my application from command line a filename (or any text) which contains the character ' (apostrophe), that character disappears. Example: "hello'goodbye" turns into "hellogoodbye".

The code I use is something like this:

Qt Code:
  1. QApplication a( argc, argv );
  2. QString argument = QString::fromLocal8Bit( a.argv()[1] )
To copy to clipboard, switch view to plain text mode 

The same code on Linux with Qt 4.2.3 works ok, no character missing.

Am I doing something wrong? Or is it a bug?