Re: altes Thema: zeichensätze

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pavel Bogdanovic wrote:
> Hallo dzug,
>
> in der config.py meines Produkts definiere ich ein Vocabulary
>
> STATES = DisplayList(( ('BW', 'Baden-Württemberg'), ('BY',
> 'Bayern'), ('BE', 'Berlin'), ... ('TH', 'Thüringen'), ))
>
> Es geht um Umlaute.
>
> Wenn ich
>
> STATES = DisplayList(( ('BW', u'Baden-Württemberg'), ('BY',
> u'Bayern'), ('BE', u'Berlin'), ... ('TH', 'Thüringen'), ))
>
> schreibe, also unicode, werden die Umlaute in den Select-Menüs der
> Vocabularies falsch dargestellt. (utf-8 in ASCII) Ohne die u'' sind
> die select-Menüs ok, aber ich entdecke den folgenden Hinweis beim
> Zope Starten:
>
Ein u'ä' macht noch lange keinen korrekten Unicodestring- insb. wenn
unklar in welchem Encoding der Editor
die Datei abspeichert. Auf jeden Fall muss der Editor korrekt
konfiguriert sein und die Encoding Präambel
der .py Datei stimmen.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkthkw0ACgkQCJIWIbr9KYxgKQCfeSbuSS0p0hRbIQlT74DXa5ME
BjAAoLDqlgfFJ+LLAy4nfKoRuN2eu8Mi
=nxfE
-----END PGP SIGNATURE-----



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 316 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.