Fix Issue 19689: Command line URL parameter does not support Chinese.

This CL fixes issue 19689 by handling command line values with native encoding on non-Windows systems.
For Linux, native encoding specified in current locale is used.
For Mac, UTF-8 will always be used.

This CL only changes command line values and program name to use native encoding, command line switches still use ASCII.

BUG=19689: Command line URL parameter does not support Chinese
TEST=Execute chrome with "http://www.google.com/search?q=中文" to see if this url can be opened successfully.


Review URL: http://codereview.chromium.org/174139

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24423 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: b44bd303ceac189036b0fb73e9cff383f11ad516
1 file changed
tree: 0faed3aa6fdddd49b0e977776a452c2d85c7285f
  1. base/
  2. build/
  3. ipc/
  4. testing/