From 59a5298b3acdb6b2ed9255b58349d7fb9bd10d6e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 4 Feb 2006 23:38:38 +0000 Subject: [PATCH] is_unicode propigated into String subclasses --- lib/sqlalchemy/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py index fafae076b7..ce1cec778a 100644 --- a/lib/sqlalchemy/types.py +++ b/lib/sqlalchemy/types.py @@ -71,7 +71,7 @@ class String(NullTypeEngine): self.length = length self.is_unicode = is_unicode def adapt(self, typeobj): - return typeobj(self.length) + return typeobj(self.length, self.is_unicode) def adapt_args(self): if self.length is None: return TEXT(is_unicode=self.is_unicode) -- 2.47.2