Hi,

When I try to retrieve values of environment variables with following code:
Qt Code:
  1. QString value=QString::fromLocal8Bit( qgetenv(iAttribute.toUtf8().constData()).constData() );
To copy to clipboard, switch view to plain text mode 

It doesn't work if the value contains special characters like french accents.

What is the solution ?