Yes. You are right. I have corrected this issue. Another issue is whether we can input Chinese characters in Python code. For example, in text field title when we build a form widget in python code?
Thanks! On Aug 26, 11:48 pm, Victor Lin <[email protected]> wrote: > You can type chiense directly in template files. But you have to save > it as utf-8 encoding format. I guess you save it as ascii, big5 or GB > encoding. That make genshi can't handle template correctly. > > On 8月26日, 下午9時46分, xianren <[email protected]> wrote: > > > Hi, > > > I am Chinese user of TG2. I meet an issue: > > > When I input Chinese in a tamplate file, for example, in index.html, > > there is always a WebError says: "TemplateSyntaxError: not well-formed > > (invalid token)". > > > 1. Does NOT the template file allow non-English characters in it? > > 2. If we need to use non-English characters, we only can use I18N > > feature of TG2 and could not input it directly in template file? > > > Thanks in advance! > > > Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

