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