From amitsaket1982 at gmail.com Sat Apr 18 05:40:21 2009 From: amitsaket1982 at gmail.com (amit kumar) Date: Sat, 18 Apr 2009 09:10:21 +0530 Subject: [Mailman-i18n] German translation Special character showing problem Message-ID: Hi All, Myself Amit Kumar, I got some problem on German language. It did not recognise the special charactor like ?, ?, ? and so on, it put the "?". In Deutsch language:- English Deutsch Show On Target(Blacktop) 1)Domain Dom?ne Dom?ne. 2)Encryption Method Verschl?sselungsmethode Verschl?sselungsmethode and so on. Please suggest me, how I can resolve this problem? Thanks & Regards Amit Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Sat Apr 18 23:43:32 2009 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 18 Apr 2009 14:43:32 -0700 Subject: [Mailman-i18n] German translation Special character showing problem In-Reply-To: Message-ID: amit kumar wrote: > >Myself Amit Kumar, I got some problem on German language. > >It did not recognise the special charactor like =E9, =F3, =E4 and so on, it >put the "?". > >In Deutsch language:- > > > English Deutsch Show On Target(Blacktop) >1)Domain Dom=E4ne Dom?ne. >2)Encryption Method Verschl=FCsselungsmethode Verschl?sselungsmethode >and so on. > >Please suggest me, how I can resolve this problem? Exactly where are you seeing the '?' characters. In the archives? In emails? If in emails, in what emails and where? What is the list's preferred_language setting? Is it German? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From p.heinlein at jpberlin.de Sun Apr 19 22:21:42 2009 From: p.heinlein at jpberlin.de (Peer Heinlein) Date: Sun, 19 Apr 2009 22:21:42 +0200 Subject: [Mailman-i18n] German translation Special character showing problem In-Reply-To: References: Message-ID: <200904192221.43111.p.heinlein@jpberlin.de> Am Samstag, 18. April 2009 schrieb amit kumar: Hi Amit, > It did not recognise the special charactor like ?, ?, ? and so on, it > put the "?". > > 2)Encryption Method Verschl?sselungsmethode > Verschl?sselungsmethode and so on. > > Please suggest me, how I can resolve this problem? Oops. This problem should not exist at all. Could you tell me more abour your setup? Which linux distribution do you use? Where does the Mailman-package come from? Which version? When do you see those problems *exactly*? Peer -- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting http://www.heinlein-support.de Zwangsangaben lt. ?35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Gesch?ftsf?hrer: Peer Heinlein ?-- Sitz: Berlin From mark at msapiro.net Mon Apr 20 05:41:38 2009 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 19 Apr 2009 20:41:38 -0700 Subject: [Mailman-i18n] German translation Special character showing problem In-Reply-To: Message-ID: amit kumar wrote: > >In Deutsch language:- > > English Deutsch Show On Target(Blacktop) >1)Domain Dom?ne Dom?ne. >2)Encryption Method Verschl?sselungsmethode Verschl?sselungsmethode >and so on. > >Language setting was "German". You are not telling us where you are seeing these '?' characters. "Show On Target(Blacktop)" means nothing to me. Are you seeing them in the Mailman web interface?, on what pages? In the mailman archives? In email from Mailman? Which emails? where in the email? You should not be seeing this on a German language list, but in order to help, we need to know where you are seeing it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From amitsaket1982 at gmail.com Mon Apr 20 12:18:46 2009 From: amitsaket1982 at gmail.com (amit kumar) Date: Mon, 20 Apr 2009 15:48:46 +0530 Subject: [Mailman-i18n] Mailman-i18n Digest, Vol 72, Issue 3 In-Reply-To: References: Message-ID: Hi, Sorry, I have seen this "?" on networkmanager-vpnc plugin. When I start to make the vpnc connection through nm-applet. It ran the networkmanager-vpnc plugin. Left click the nm-applet's icon --> go to the vpn connection --> go to configure vpn --> press add button --> then press the create button --> see on Optional there is a Domain. That "domain" is in German "Dom?ne" but it print "Dom?ne". That is the problem. I think now u have understand the problem. Please give some pointer on this. Thanks & Regards Amit Kumar On Mon, Apr 20, 2009 at 3:30 PM, wrote: > Send Mailman-i18n mailing list submissions to > mailman-i18n at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/mailman-i18n > or, via email, send a message with subject or body 'help' to > mailman-i18n-request at python.org > > You can reach the person managing the list at > mailman-i18n-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Mailman-i18n digest..." > > Today's Topics: > > 1. Re: German translation Special character showing problem > (Peer Heinlein) > 2. Re: German translation Special character showing problem > (Mark Sapiro) > > > ---------- Forwarded message ---------- > From: Peer Heinlein > To: mailman-i18n at python.org > Date: Sun, 19 Apr 2009 22:21:42 +0200 > Subject: Re: [Mailman-i18n] German translation Special character showing > problem > Am Samstag, 18. April 2009 schrieb amit kumar: > > > Hi Amit, > > > It did not recognise the special charactor like ?, ?, ? and so on, it > > put the "?". > > > > 2)Encryption Method Verschl?sselungsmethode > > Verschl?sselungsmethode and so on. > > > > Please suggest me, how I can resolve this problem? > > Oops. This problem should not exist at all. > > Could you tell me more abour your setup? > Which linux distribution do you use? > Where does the Mailman-package come from? > Which version? > > When do you see those problems *exactly*? > > Peer > > > -- > Heinlein Professional Linux Support GmbH > Linux: Akademie - Support - Hosting > > http://www.heinlein-support.de > > Zwangsangaben lt. ?35a GmbHG: > HRB 93818 B / Amtsgericht Berlin-Charlottenburg, > Gesch?ftsf?hrer: Peer Heinlein -- Sitz: Berlin > > > > ---------- Forwarded message ---------- > From: Mark Sapiro > To: amit kumar > Date: Sun, 19 Apr 2009 20:41:38 -0700 > Subject: Re: [Mailman-i18n] German translation Special character showing > problem > amit kumar wrote: > > > >In Deutsch language:- > > > > English Deutsch Show On Target(Blacktop) > >1)Domain Dom?ne Dom?ne. > >2)Encryption Method Verschl?sselungsmethode Verschl?sselungsmethode > >and so on. > > > >Language setting was "German". > > > You are not telling us where you are seeing these '?' characters. > > "Show On Target(Blacktop)" means nothing to me. Are you seeing them in > the Mailman web interface?, on what pages? In the mailman archives? In > email from Mailman? Which emails? where in the email? > > You should not be seeing this on a German language list, but in order > to help, we need to know where you are seeing it. > > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > > > _______________________________________________ > Mailman-i18n mailing list > Mailman-i18n at python.org > http://mail.python.org/mailman/listinfo/mailman-i18n > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Mon Apr 20 16:20:08 2009 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 20 Apr 2009 07:20:08 -0700 Subject: [Mailman-i18n] German translation Special character showing problem In-Reply-To: Message-ID: amit kumar wrote: > >Sorry, I have seen this "?" on networkmanager-vpnc plugin. When I start to >make the vpnc connection through nm-applet. It ran the networkmanager-vpnc >plugin. >Left click the nm-applet's icon --> go to the vpn connection --> go to >configure vpn --> press add button --> then press the create button --> see >on Optional there is a Domain. That "domain" is in German "Dom?ne" but it >print "Dom?ne". That is the problem. None of the above seems to involve Mailman. Unless the "Dom?ne" that you see is on a Mailman generated page, this is not the appropriate place to get help for this issue. This list, mailman-i18n at python.org, is for i18n issues involving the GNU Mailman email list management software only. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kaja at cs.au.dk Thu Apr 23 15:49:06 2009 From: kaja at cs.au.dk (Kaja P. Christiansen) Date: Thu, 23 Apr 2009 15:49:06 +0200 Subject: [Mailman-i18n] Problem with Danish characters? Message-ID: <49F071D2.5020801@cs.au.dk> Hi all, I have (so far) been unable to show correctly Danish characters in the names of the list members. Let me give 2 examples. 1. Say I create a list 'test' and subscribe a member like here: newlist -l da test kaja at cs.au.dk kaja echo "Kaja J?rgensen " | add_members -r - -a n -w n test to which Mailman responds with: Tilmeldt: Kaja J?rgensen So far so good. Now I ask for the membership list with list_members -f test and receive back: Kaja J?rgensen 2. I edit the membership list from the web page: - go to Membership List - replace member name Kai Nielsen with Kai J?rgensen Nielsen (looks good) - submit changes - go to another web membership page, then back to one with 'Kai...' and see: Kai Jørgensen Birger Nielsen Relevant settings in .../mailman/Mailman/mm_cfg.py are: # Charset and Encoding DEFAULT_CHARSET = 'iso-8859-1' VERBATIM_ENCODING = ['iso-8859-1'] We've been using Mailman for yers. Currently running v. is 2.1.11 on Linux (RHEL 5.3). Could you help? Perhaps point me to a previous thread on this list which provides a solution? Regards Kaja From mark at msapiro.net Thu Apr 23 17:08:30 2009 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Apr 2009 08:08:30 -0700 Subject: [Mailman-i18n] Problem with Danish characters? In-Reply-To: <49F071D2.5020801@cs.au.dk> Message-ID: Kaja P. Christiansen wrote: > >I have (so far) been unable to show correctly Danish characters >in the names of the list members. Let me give 2 examples. > >1. >Say I create a list 'test' and subscribe a member like here: > newlist -l da test kaja at cs.au.dk kaja > echo "Kaja J?rgensen " | add_members -r - -a n -w n test >to which Mailman responds with: > Tilmeldt: Kaja J?rgensen > >So far so good. Now I ask for the membership list with > list_members -f test >and receive back: > Kaja J?rgensen The name 'Kaja J?rgensen' is stored internally as a python unicode object. list_members encodes this for display using the encoding given by Python's sys.getdefaultencoding(). This in turn defaults to "ascii". If you want list_members to show non-ascii characters as other than '?', you have two choices. You can edit the definition of setencoding() in /usr/lib/pythonV.V/site.py to replace "ascii" with "iso-8859-1", or you can edit Mailman's bin/list_members and replace the line ENC = sys.getdefaultencoding() with ENC = "iso-8859-1" >2. >I edit the membership list from the web page: >- go to Membership List >- replace member name Kai Nielsen with Kai J?rgensen Nielsen (looks good) >- submit changes >- go to another web membership page, then back to one with 'Kai...' > and see: Kai Jørgensen Birger Nielsen Again, the name is properly stored internally. This display is due to over-protection of the web interface from cross-site-scripting attacks. The attached file escape_html.patch.txt contains a patch that will allow these names to display properly in the admin Membership List. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: escape_html.patch.txt URL: From mark at msapiro.net Thu Apr 23 17:46:53 2009 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Apr 2009 08:46:53 -0700 Subject: [Mailman-i18n] Problem with Danish characters? In-Reply-To: Message-ID: Mark Sapiro wrote: > >You can edit the definition of setencoding() in >/usr/lib/pythonV.V/site.py to replace "ascii" with "iso-8859-1", ... Actually, the above is not the proper way to do this. The proper way is to create /usr/lib/pythonV.V/site-packages/sitecustomize.py containing the two lines import sys sys.setdefaultencoding('iso-8859-1') -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kaja at cs.au.dk Fri Apr 24 14:39:08 2009 From: kaja at cs.au.dk (Kaja P. Christiansen) Date: Fri, 24 Apr 2009 14:39:08 +0200 Subject: [Mailman-i18n] Problem with Danish characters? In-Reply-To: References: Message-ID: <49F1B2EC.5070206@cs.au.dk> Hi Mark, Thanks much for the escape_html.patch.txt and the advice below: they have solved the problem with Danish characters in list_members (also sync_members!) and web membership page. This brings me to another question. When I define DEFAULT_CHARSET in the mm_cfg.py, and mm_cfg.py is imported in other modules, the encoding is actually known to Mailman. Would it be possible to use this value instead of patching Python? Kaja > Mark Sapiro wrote: >> You can edit the definition of setencoding() in >> /usr/lib/pythonV.V/site.py to replace "ascii" with "iso-8859-1", ... > > > Actually, the above is not the proper way to do this. The proper way is > to create /usr/lib/pythonV.V/site-packages/sitecustomize.py containing > the two lines > > import sys > sys.setdefaultencoding('iso-8859-1') > From mark at msapiro.net Fri Apr 24 20:05:12 2009 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 24 Apr 2009 11:05:12 -0700 Subject: [Mailman-i18n] Problem with Danish characters? In-Reply-To: <49F1B2EC.5070206@cs.au.dk> Message-ID: Kaja P. Christiansen wrote: > >This brings me to another question. When I define DEFAULT_CHARSET >in the mm_cfg.py, and mm_cfg.py is imported in other modules, the >encoding is actually known to Mailman. Would it be possible to use >this value instead of patching Python? DEFAULT_CHARSET was used only by the pipermail archiver and hasn't been actually used by anything in Mailman since before Mailman 2.1.0. With regard to changing the encoding for the command line tools that currently use Python's getdefaultencoding() is concerned, they should probably be using something like locale.getdefaultlocale()[1] instead. This is something we should look into for Mailman 2.2/3.0 -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan