Diacriticals in ZMI
My problem is the ZMI doesn't seem to be setting an encoding. Mozilla 1.1 notices this and displays all 8 bit characters as '?'. So 'Re'sume`' now shows up as 'R?sum?'. So my questions are: 1) How do I set the ZMI codepage or encoding so the browser knows what's going on? 2) Is there a way to enter é et al. into ZMI Title boxes and have them work rather than entering 8 bit characters? I've tried setting the locale via -L but that isn't helping me any. It seems to refuse to accept most of the locales listed by 'locale -a' and those that Zope accepts seem to result in a non-responsive ZMI.
Charlie Reiman <creiman@kefta.com> wrote:
My problem is the ZMI doesn't seem to be setting an encoding. Mozilla 1.1 notices this and displays all 8 bit characters as '?'. So 'Re'sume`' now shows up as 'R?sum?'.
If that's the case, Mozilla is wrong as the default encoding for HTML is iso-8859-1. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
If I fire up a fresh mozilla it goes to a blank page (my standard startup page). Mozilla shows the character encoding is indeed Western ISO 8859-1. However, when I view the ZMI, the encoding shifts to Unicode UTF-8. Experiments with other pages seem to indicate Mozilla is detecting the encoding correctly but it's difficult to be certain. If I had to guess, I'd say Zope is claiming to be UTF-8 but not handling user supplied data (properties) correctly. They just get spat out as-is, which in this case is ISO 8859. This makes sense since I don't think Zope has any way of knowing if the user properties are UTF or ISO 8859 or what. It turns out I can use &blah; style encoding in titles and that seems to be okay with Moz and IE6. The only problem is they display in the ZMI as &blah;. This is correct but annoying. Thanks for everyones help. Charlie
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Florent Guillaume Sent: Wednesday, September 18, 2002 9:04 AM To: zope@zope.org Subject: Re: [Zope] Diacriticals in ZMI
Charlie Reiman <creiman@kefta.com> wrote:
My problem is the ZMI doesn't seem to be setting an encoding. Mozilla 1.1 notices this and displays all 8 bit characters as '?'. So 'Re'sume`' now shows up as 'R?sum?'.
If that's the case, Mozilla is wrong as the default encoding for HTML is iso-8859-1.
Florent
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
It works for me, I have ISO-8859-1 in the ZMI. Maybe check you Navigator/Languages/Default Character Coding preference. Florent Charlie Reiman <creiman@kefta.com> wrote:
If I fire up a fresh mozilla it goes to a blank page (my standard startup page). Mozilla shows the character encoding is indeed Western ISO 8859-1. However, when I view the ZMI, the encoding shifts to Unicode UTF-8. Experiments with other pages seem to indicate Mozilla is detecting the encoding correctly but it's difficult to be certain.
If I had to guess, I'd say Zope is claiming to be UTF-8 but not handling user supplied data (properties) correctly. They just get spat out as-is, which in this case is ISO 8859. This makes sense since I don't think Zope has any way of knowing if the user properties are UTF or ISO 8859 or what.
It turns out I can use &blah; style encoding in titles and that seems to be okay with Moz and IE6. The only problem is they display in the ZMI as &blah;. This is correct but annoying. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
Nope, my default is iso 8859 as well. I also checked the behavior under IE and the ZMI shows as Western (Windows) which is not ISO 8859 (I think). IE 6's encoding for about:blank is Unicode, although it greys out the selection. Anwyay, I'm done worrying about it.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Florent Guillaume Sent: Wednesday, September 18, 2002 11:45 AM To: zope@zope.org Subject: Re: [Zope] Diacriticals in ZMI
It works for me, I have ISO-8859-1 in the ZMI. Maybe check you Navigator/Languages/Default Character Coding preference.
Florent
Charlie Reiman <creiman@kefta.com> wrote:
If I fire up a fresh mozilla it goes to a blank page (my standard startup page). Mozilla shows the character encoding is indeed Western ISO 8859-1. However, when I view the ZMI, the encoding shifts to Unicode UTF-8. Experiments with other pages seem to indicate Mozilla is detecting the encoding correctly but it's difficult to be certain.
If I had to guess, I'd say Zope is claiming to be UTF-8 but not handling user supplied data (properties) correctly. They just get spat out as-is, which in this case is ISO 8859. This makes sense since I don't think Zope has any way of knowing if the user properties are UTF or ISO 8859 or what.
It turns out I can use &blah; style encoding in titles and that seems to be okay with Moz and IE6. The only problem is they display in the ZMI as &blah;. This is correct but annoying. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
Charlie Reiman writes:
My problem is the ZMI doesn't seem to be setting an encoding. Mozilla 1.1 notices this and displays all 8 bit characters as '?'. So 'Re'sume`' now shows up as 'R?sum?'.
So my questions are:
1) How do I set the ZMI codepage or encoding so the browser knows what's going on? Currently, the management pages do not use a common template (which is very sad). Most use "App/dtml/manage_tabs". You can set the "Content-Type" header there, with the correct charset.
An alternative would be to tell your browser what the default charset should be.
2) Is there a way to enter é et al. into ZMI Title boxes and have them work rather than entering 8 bit characters? I do not think so.
Dieter
participants (3)
-
Charlie Reiman -
Dieter Maurer -
Florent Guillaume