Raw codepoint test backend. Tweaks to constructor arguments. Try to handle the case...
[python-collate.git] / collate / icu / __init__.py
index 1e2ba50..bb0dcd8 100644 (file)
@@ -4,7 +4,7 @@ import collate._abcollator
 NAME = "ICU"
 
 class Collator(collate._abcollator.Collator):
-    def __init__(self, locale):
+    def __init__(self, locale, encoding):
        self._collator = collate.icu._ucol.Collator(locale)
        self.locale = self._collator.locale