Re: [Zope] Help STX in UTF-8

2005-09-01 Thread Dieter Maurer
Vlada Macek wrote at 2005-8-31 18:13 +0200: > ... >in my product's __init__.py. Then I placed UTF-8 encoded STX file in my >language there, but the help via ZMI is displayed with garbled UTF-8 >chars. It's unreadable, but it is not the matter of browser's Display >encoding switch. > >It's Zope 2.7.

Re: [Zope] Help STX in UTF-8

2005-09-01 Thread Chris Withers
Vlada Macek wrote: It's Zope 2.7.5. What can I do to display the file correctly? IIRC, somewhere in ZPublisher/BaseRequest.py there's a hard-coded encoding to latin-1, try changing that to utf-8... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - htt

[Zope] Help STX in UTF-8

2005-08-31 Thread Vlada Macek
I registered the help directory using context.registerHelp(directory='help') in my product's __init__.py. Then I placed UTF-8 encoded STX file in my language there, but the help via ZMI is displayed with garbled UTF-8 chars. It's unreadable, but it is not the matter of browser's Display encod