Sure, Just install plain t4 with no DB in a folder called "test", create the admin user, login, then edit the "main" page, and replace it with some text like: "Júlio" After you save the page you can never edit it again, unless you go to the database console and delete that page version. The traceback I get is: Traceback (most recent call last): File "gluon/restricted.py", line 184, in restricted exec ccode in environment File "/var/local/web2py/applications/test/controllers/default.py", line 76, in <module> File "gluon/globals.py", line 103, in <lambda> self._caller = lambda f: f() File "gluon/tools.py", line 1403, in f return action(*a, **b) File "/var/local/web2py/applications/test/controllers/default.py", line 41, in logs pages = db(db.t_page.name==page_name).select(orderby=~db.t_page.saved_on) File "gluon/sql.py", line 2859, in select rows = response(query) File "gluon/sql.py", line 2854, in response db._execute(query) File "gluon/sql.py", line 835, in <lambda> self._execute = lambda *a, **b: self._cursor.execute(*a, **b) OperationalError: Could not decode to UTF-8 column 'body' with text 'Júlio' Thanks! Monteiro mdipierro wrote: Can you tell me how to reproduce the problem? On Nov 1, 12:32 pm, Júlio Monteiro <jmonte...@gmail.com> wrote:Hello Massimo,Please check out my branch, I did some bug hunting on T4, perhaps you can use some of what I coded. https://code.launchpad.net/~monteiro/t4/monteiro I would love if you can fix that international character support problem, thats what is blocking me now :) Cheers, Monteiro Júlio Monteiro wrote:Hey there,Another bug that I would love to know how to solve: no pages accept unicode chars, and if you save a system page with unicode chars, the system becomes unusable, the only way is to open the sqlite database by hand and remove the faulty entry.Is this easy to fix?Monteiro --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [web2py:34331] Re: T4 Júlio Monteiro
- [web2py:34332] Re: T4 mdipierro
- [web2py:34333] Re: T4 mdipierro
- [web2py:34336] Re: T4 Júlio Monteiro
- [web2py:34338] Re: T4 mdipierro
- [web2py:34344] Re: T4 Júlio Monteiro
- [web2py:34335] Re: T4 Júlio Monteiro
- [web2py:34346] Re: T4 Júlio Monteiro
- [web2py:34348] Re: T4 Júlio Monteiro
- [web2py:34349] Re: T4 mdipierro
- [web2py:34350] Re: T4 Júlio Monteiro
- [web2py:34351] Re: T4 mdipierro
- [web2py:34355] Re: T4 Júlio Monteiro
- [web2py:34358] Re: T4 mdipierro
- [web2py:34359] Re: T4 mdipierro
- [web2py:34361] Re: T4 Júlio Monteiro
- [web2py:34362] Re: T4 btj
- [web2py:34364] Re: T4 mdipierro
- [web2py:34367] Re: T4 Júlio Monteiro
- [web2py:34386] Re: T4 dupoxy
- [web2py:34391] Re: T4 mdipierro