Jonas Borgström wrote:
Hi,

I've been experimenting with using real unicode strings instead of
normal utf-8 encoded strings on the sandbox/unicode branch.
...
The branch currently passes all unit-tests and seems to work well
but I would appreciate some additional testing and feedback on the idea in general.

I've tested it a bit.
I had some issues initially, but it It appeared that I had a mix
of ISO-8859-1 and utf8 encoded values in my enum table
(tests values for when I worked on #1821, IIRC).

After cleaning that up (remove the "très" encoded with "tr<8A>s"),
it seems to work.
I also tested "the Milestone with national language characters" (#1239),
and that still works.

So for me (pysqlite-2.1.x - Windows), it works.

PS: Something I'm wondering... if everything is Unicode,
shouldn't the regexps (using \w, \W, \b, \B, \d, \D, \s and \S)
have the UNICODE flag set?
Also, in general, a quick overview of how it works would be
useful: what strings are unicode (i.e. those coming from the db
layer, those coming from the req.args, those coming from the
config...), which aren't (those coming from the svn repos?).
Thanks!

-- Christian
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to