You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
maruel@chromium.org 8e741d3bb1 Add code to 'fix' python encoding and it's unit test.
With this code in action, I can successfully print arabic and chinese on linux
and cygwin. It fails to print chinese on my Mac but prints arabic. It prints '?'
on Windows console but it *doesn't throw* which is the biggest improvement here.
It was particularly a problem on windows because WindowsError's description text
is in the current ANSI code page so it failed to print if the text was not pure
ASCII, like error message when using Windows' French UI.

R=dpranke@chromium.org
BUG=none
TEST=manual unit test ./tests/fix_encoding_test.py and it shouldn't throw

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79006 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
bootstrap
git_cl
tests Add code to 'fix' python encoding and it's unit test. 15 years ago
third_party
zsh-goodies
.gitignore
LICENSE
OWNERS
PRESUBMIT.py Add code to 'fix' python encoding and it's unit test. 15 years ago
README
README.gclient
WATCHLISTS
breakpad.py
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py
chromite
codereview.settings
cpplint.bat
cpplint.py
create-chromium-git-src
drover
drover.bat
drover.py
fix_encoding.py Add code to 'fix' python encoding and it's unit test. 15 years ago
gcl
gcl.bat
gcl.py Add code to 'fix' python encoding and it's unit test. 15 years ago
gclient
gclient.bat
gclient.py Add code to 'fix' python encoding and it's unit test. 15 years ago
gclient_scm.py
gclient_utils.py
git-cl
git-cl-upload-hook
git-gs
git-try
git_cl_hooks.py
hammer
hammer.bat
owners.py
presubmit_canned_checks.py
presubmit_support.py Add code to 'fix' python encoding and it's unit test. 15 years ago
profile.xml
pylintrc
repo
scm.py
trychange.py Add code to 'fix' python encoding and it's unit test. 15 years ago
update_depot_tools
watchlists.py
weekly
wtf

README

This package contains tools for working with Chromium development.

The "gclient" wrapper knows how to keep this repository updated to
the latest versions of these tools as found at:

    http://src.chromium.org/svn/trunk/tools/depot_tools

This package contains:

  chrome-update-create-task.bat
    Creates a scheduled task to do an automatic local chromium build every day.

  cpplint.py
    A copy of our linting tool which enforces Google style. Fetched from
    http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

  gcl
    A tool for uploading and managing code reviews on the Chromium
    project, using the Rietveld code review tool.  More info at:
    http://code.google.com/p/rietveld/

  gclient
    A script for managing a workspace with modular dependencies that
    are each checked out independently from different repositories.
    More info at:
    http://code.google.com/p/gclient/

  hammer
    A wrapper script for building Chromium with the SCons software
    construction tool.  More info at:
    http://www.scons.org/

Note: svn and python will be installed automatically if not accessible (on
Windows only).

To update this distribution manually, run bootstrap\gclient.bat on Windows,
or bootstrap/gclient.sh on Linux or Mac.

To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0