Any help? I modified templates.pt , change 8859-1 to UTF-8, and changed some menu content to Chinese chars. the menu looks good, but when I click some link, like "Products", I got bellow errors:
*Type: UnicodeDecodeError * *Value: 'ascii' codec can't decode byte 0xe8 in position 253: ordinal not in range(128) * Traceback (innermost last): - Module ZPublisher.Publish, line 114, in publish - Module ZPublisher.mapply, line 88, in mapply - Module ZPublisher.Publish, line 40, in call_object - Module Products.ZenModel.ZenModelBase, line 63, in __call__ - Module Shared.DC.Scripts.Bindings, line 311, in __call__ - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec - Module Products.CMFCore.FSPageTemplate, line 195, in _exec - Module Products.CMFCore.FSPageTemplate, line 134, in pt_render - Module Products.PageTemplates.PageTemplate, line 105, in pt_render *<FSPageTemplate at /zport/viewManufacturers used for /zport/dmd/Manufacturers>* - Module StringIO, line 273, in getvalue Did anybody met this before? On 6/18/07, hanxin <[EMAIL PROTECTED]> wrote:
Hi, Is there anyone tried to make ZenOSS using unicode char set? eg. input CJK (Chinese/Japanese/Korean) . I have tried to modify the Products/ZenModel/skins/zenmodel/templates.pt , change "8859-1" to "UTF-8", but after that, I even can't input ascii chars. Please, can someone give me suggestion about this? Thanks. Regards, Benny.
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
