From 4ac1ed4da3711de16734304955f883e33105a069 Mon Sep 17 00:00:00 2001
From: tkikuchi <>
Date: Tue, 8 Nov 2005 01:25:54 +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(-)

(limited to 'misc')

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',
+})
-- 
cgit v1.2.3