diff options
author | tkikuchi <> | 2005-11-08 01:25:54 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-11-08 01:25:54 +0000 |
commit | 4ac1ed4da3711de16734304955f883e33105a069 (patch) | |
tree | 8a4926a17752f00135088b9379971234098e1686 | |
parent | 6c47c6798c6857ea2be4135a7f08006e94cae5db (diff) | |
download | mailman2-4ac1ed4da3711de16734304955f883e33105a069.tar.gz mailman2-4ac1ed4da3711de16734304955f883e33105a069.tar.xz mailman2-4ac1ed4da3711de16734304955f883e33105a069.zip |
Arabic and Hebrew bi-directional (RFC-1556) encoding aliases.
IMHO They should be included in Python distribution.
This is a temporary solution.
-rw-r--r-- | misc/paths.py.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/paths.py.in b/misc/paths.py.in index a3021c2b..b80648b6 100644 --- a/misc/paths.py.in +++ b/misc/paths.py.in @@ -1,6 +1,6 @@ # -*- python -*- -# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2005 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -58,3 +58,11 @@ import japanese # changes this. import korean import korean.aliases +# Arabic and Hebrew (RFC-1556) encoding aliases. (temporary solution) +import encodings.aliases +encodings.aliases.aliases.update({ + 'iso_8859_6_e': 'iso8859_6', + 'iso_8859_6_i': 'iso8859_6', + 'iso_8859_8_e': 'iso8859_8', + 'iso_8859_8_i': 'iso8859_8', +}) |