PC keyboard inccorect mapping
If you can consider switching to the U.S layout, it's identical on Mac and Windows in terms of the positions of ASCII characters.

I don't know if there's a premade French PC layout, but you can also use Ukelele to create your own one:


Select File > New From Current Input Source
Change the keys
Save as bundle to /Library/Keyboard Layouts/ (the popovers shown when holding keys don't work with normal .keylayout files, and keyboard layouts in ~/Library/Keyboard Layouts/ can't be selected in password dialogs or the login window)
Log out and back in and enable the input source in System Preferences > Language &amp; Text > Input Sources


To apply changes to a keylayout, you have to run sudo touch /Library/Keyboard Layouts/ (or modify the folder some other way) and log out and back in. You can disable the default French input source by editing the com.apple.HIToolbox plist.

Another option would be to use KeyRemap4MacBook:



You can customize the setting group by copying it from the source to private.xml.