[Zope] Danish characters in Zope on win2000

Oliver Marx oliver@tekk.dk
Sun, 16 Jun 2002 14:00:01 +0200


Well

1. I'm using the same system as you in terms of Zope and Python
2. I start Zope with (z2.py -D -L danish_denmark)
3. I don't have the problem.

What I did to test:

1. Created a test folder
2. Created an index_html containing:
<html metal:define-macro=3D"page">
   <div metal:define-slot=3D"page_content">
               =E6=F8=E5=C6=D8=C5
   </div>
</html>
3. Tested the page and got
=E6=F8=E5=C6=D8=C5

But of the fact that I cannot reproduce your problem is not the same as
there is no problem.

Med venlig hilsen
\Oliver

>>-----Original Message-----
>>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
>>gardsted@tiscali.dk
>>Sent: 16. juni 2002 11:34
>>To: zope@zope.org
>>Subject: [Zope] Danish characters in Zope on win2000
>>
>>
>>I cant get the correct danish characters in my Zope on win2000
>>____________________________________
>>Zope Version
>>(Zope 2.5.1 (binary release, python 2.1, win32-x86), python 2.1.3, win3=
2)
>>Python Version
>>2.1.3 (#35, Apr 8 2002, 17:47:50) [MSC 32 bit (Intel)]
>>System Platform
>>win32
>>____________________________________
>>I start Zope with:
>>
>>"....z2.py" -D -L danish_denmark
>>
>>I can verify the locale from this external method:
>>   def getEnv(self):
>>      return locale.getlocale()
>>
>>Which gives me the following:
>>
>>['Danish_Denmark', '1252']
>>____________________________________
>>
>>I have an index_html looking like:
>>
>><html metal:define-macro=3D"page">
>>...
>>            <div metal:define-slot=3D"page_content">
>>               =E6=F8=E5=C6=D8=C5
>>            </div>
>>...
>></html>
>>
>>See attachment: index1.jpg to see how
>>the 6 characters in <div>=E6=F8=E5=C6=D8=C5</div> 'look'
>>in danish.
>>in HTML:"&aelig;&oslash;&aring;&Aelig;&Oslash;&Aring;"
>>____________________________________
>>
>>When I test the page I get garbled characters
>>See attachment: test.jpg to see how
>>the 6 characters look when rendered.
>>(it seems there are 12 characters...)
>>
>>What am I doing wrong ?
>>Any help would be appreciated.
>>
>>regards
>>J=F8rgen J=F8rgensen
>>Denmark
>>
>>
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.370 / Virus Database: 205 - Release Date: 05-06-2002
>>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database: 205 - Release Date: 05-06-2002