From 34ef3e7e0298c4e408ee606bfa053b8ff1ef8cd4 Mon Sep 17 00:00:00 2001 From: tkikuchi Date: Tue, 8 Nov 2005 01:24:01 +0000 Subject: Arabic and Hebrew bi-directional (RFC-1556) encoding aliases. IMHO They should be included in Python distribution. This is a temporary solution. --- misc/paths.py.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/misc/paths.py.in b/misc/paths.py.in index 52309254e..4ec49d9b4 100644 --- a/misc/paths.py.in +++ b/misc/paths.py.in @@ -1,6 +1,6 @@ # -*- python -*- -# Copyright (C) 1998,1999,2000,2001,2002 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', +}) -- cgit v1.2.3-70-g09d2