equal
deleted
inserted
replaced
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others |
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others |
4 # |
4 # |
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2, incorporated herein by reference. |
6 # GNU General Public License version 2, incorporated herein by reference. |
7 |
7 |
8 import sys, unicodedata, locale, os, error |
8 import error |
|
9 import sys, unicodedata, locale, os |
9 |
10 |
10 _encodingfixup = {'646': 'ascii', 'ANSI_X3.4-1968': 'ascii'} |
11 _encodingfixup = {'646': 'ascii', 'ANSI_X3.4-1968': 'ascii'} |
11 |
12 |
12 try: |
13 try: |
13 encoding = os.environ.get("HGENCODING") |
14 encoding = os.environ.get("HGENCODING") |