support printing subclass of unicode