[Zope] Danish characters in Zope on win2000

gardsted@tiscali.dk gardsted@tiscali.dk
Sun, 16 Jun 2002 11:34:00 +0200


--=========3CF90E0400001937/cpmail.dk.tiscali.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

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, win32)=

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


--=========3CF90E0400001937/cpmail.dk.tiscali.com
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="INDEX1.JPG"

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAvAXgDASIA
AhEBAxEB/8QAGgABAQEBAQEBAAAAAAAAAAAAAAYHBQQDCP/EADgQAAIBAwQBAQc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UClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUH/2Q==


--=========3CF90E0400001937/cpmail.dk.tiscali.com
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="TEST.JPG"

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAgAKIDASIA
AhEBAxEB/8QAGgABAQEAAwEAAAAAAAAAAAAAAAUGAgMEB//EAC0QAAIBBAIBAwIGAwEBAAAAAAEC
AwQREiEABeEGEzEUFSIyM0FRYSNC0UPB/8QAFQEBAQAAAAAAAAAAAAAAAAAAAAH/xAAUEQEAAAAA
AAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwD6eijJdg7GreOEUZLsHY1bxwijJdg7GreOEUZLsHY1
bxwoijJdg7GreOEUZLsHY1bxwijJdg7GreOEUZLsHY1bxwJb9x7XdRdcvXdhKXIAqEp/8OV1upY/
FlbK9rGzKpZhjyoijJdg7GreOYmv7uni9eQseypUekngoPomdffkE4u5RDtlLPSkn5HsyW/h9FS0
cyeq66sZR9PLR0sSNe+Tq85YW+dB1/a2/wB+A6ruPudZJCOu7CnERv7lVT+2rg4lSt/nIMdWuuJD
hTYGi7pBG0z5MqDIqiM7EDdgoBJP9AEn++Yz0Z3dP2HdTGLsqWqPZwmv9mF1Z4CJMQJQPyt7T0yW
2LxP++21fY10PVdZVdjPk8NJC87qguxVVyIF9XsD88Dp6fs27T3C3XV1EYnwZauIKSwYghbEhhYA
5C6kMLEkECiijJdg7GreOZL0LWpIKvrvudH2MsJiqXmo5FkizmW8guB+YzLM9rWAdba/CMd0nY9B
N6woqKHq6GOjh7A1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