import collate.icu._ucol
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
def key(self, string):
return self._collator.key(string)