Use user locale with Latin-1 as fallback for command line arguments.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Mar 2010 20:46:18 +0000 (20:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Mar 2010 20:46:18 +0000 (20:46 +0000)
commit0a4daf3980b9fdb9163ef02a076cc4973b5c2014
tree9ffc851794845a52a92fc8f648aee15ee7c10944
parent3cd3739570ae08024c520adda9bd466a883cebaf
Use user locale with Latin-1 as fallback for command line arguments.

Command line arguments can contain characters outside of 7 bit ASCII range.
Assume that they use the default user encoding but fall back to Latin-1 if
conversion failed.

Closes #11754.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/cmdline.cpp