From taquin.ho@projectplace.com Thu Aug 1 09:42:38 2002 From: taquin.ho@projectplace.com (Taquin Ho) Date: Thu, 1 Aug 2002 10:42:38 +0200 Subject: [I18n-sig] Unicode implementation of python Message-ID: This is a multi-part message in MIME format. ------_=_NextPart_001_01C23937.63FF2011 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 I'd like to use the sys.setdefaultencoding(..) method in python 2.2.x. Comments in the site.py file specify that I need the Unicode = implementation (Unicode build). Have looked around for the Unicode build, and cannot find it. Where can = I get it, or do I have to build it from the source code myself? =20 -Taquin =20 ------_=_NextPart_001_01C23937.63FF2011 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I'd = like to use the=20 sys.setdefaultencoding(..) method in python 2.2.x.
Comments in the=20 site.py file specify that I need the Unicode implementation (Unicode=20 build).
Have = looked around=20 for the Unicode build, and cannot find it. Where can I get it, or do I = have to=20 build it from the source code myself?
 
-Taquin
 
------_=_NextPart_001_01C23937.63FF2011-- From mal@lemburg.com Thu Aug 1 10:14:32 2002 From: mal@lemburg.com (M.-A. Lemburg) Date: Thu, 01 Aug 2002 11:14:32 +0200 Subject: [I18n-sig] Unicode implementation of python References: Message-ID: <3D48FBF8.2060001@lemburg.com> Taquin Ho wrote: > Hello, > > I'd like to use the sys.setdefaultencoding(..) method in python 2.2.x. > Comments in the site.py file specify that I need the Unicode > implementation (Unicode build). > Have looked around for the Unicode build, and cannot find it. Where can > I get it, or do I have to build it from the source code myself? Python comes with Unicode support since version 1.6 and that's what is being refered to in the site.py comment. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH _______________________________________________________________________ eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,... Python Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ From taquin.ho@projectplace.com Thu Aug 1 11:22:43 2002 From: taquin.ho@projectplace.com (Taquin Ho) Date: Thu, 1 Aug 2002 12:22:43 +0200 Subject: [I18n-sig] Unicode implementation of python Message-ID: Thanks, I know, but the standard version does not seem to have all the = unicode build. site.py gives an attribute error when it tries to execute = sys.setdefaultencoding(...). See code from site.py: if encoding !=3D "ascii": # On Non-Unicode builds this will raise an AttributeError... sys.setdefaultencoding(encoding) # Needs Python Unicode build ! Once again, anyone know how to activate the unicode support, without = having to do an=20 x.encode('latin-1') manually for each string? / Taquin M.-A. Lembyrg wrote: > > Taquin Ho wrote: > > Hello, > > =20 > > I'd like to use the sys.setdefaultencoding(..) method in=20 > python 2.2.x. > > Comments in the site.py file specify that I need the Unicode=20 > > implementation (Unicode build). > > Have looked around for the Unicode build, and cannot find=20 > it. Where can=20 > > I get it, or do I have to build it from the source code myself? >=20 > Python comes with Unicode support since version 1.6 and that's > what is being refered to in the site.py comment. >=20 From martin@v.loewis.de Thu Aug 1 17:58:25 2002 From: martin@v.loewis.de (Martin v. Loewis) Date: 01 Aug 2002 18:58:25 +0200 Subject: [I18n-sig] Unicode implementation of python In-Reply-To: References: Message-ID: "Taquin Ho" writes: > Thanks, I know, but the standard version does not seem to have all > the unicode build. It sure does have Unicode support. > site.py gives an attribute error when it tries to execute > sys.setdefaultencoding(...). Why do you say that? Because the comment says it, or because you actually did get the attribute error when changing site.py? > See code from site.py: > if encoding != "ascii": > # On Non-Unicode builds this will raise an AttributeError... > sys.setdefaultencoding(encoding) # Needs Python Unicode build ! I'm pretty sure that you got this exception because you tried to invoke sys.setdefaultencoding outside of site.py > Once again, anyone know how to activate the unicode support, without > having to do an x.encode('latin-1') manually for each string? It is already activated. Please explain *exactly* what you did if you want more help. Regards, Martin From taquin.ho@projectplace.com Fri Aug 2 06:58:14 2002 From: taquin.ho@projectplace.com (Taquin Ho) Date: Fri, 2 Aug 2002 07:58:14 +0200 Subject: [I18n-sig] Unicode implementation of python Message-ID: OK, I get the picture. site.py assigns the defaultencoding and then = deletes=20 the method entry in sys so it cannot be called after initialization. I received an AttributeError in site.py the first time around, but that = must=20 have been due to a typo, then. Works fine now. Thanks! - Taquin > -----Original Message----- > From: Martin v. Loewis [mailto:martin@v.loewis.de] > Sent: den 1 augusti 2002 18:58 > To: Taquin Ho > Cc: i18n-sig@python.org > Subject: Re: [I18n-sig] Unicode implementation of python >=20 >=20 > "Taquin Ho" writes: >=20 > > Thanks, I know, but the standard version does not seem to have all > > the unicode build. >=20 > It sure does have Unicode support. >=20 > > site.py gives an attribute error when it tries to execute > > sys.setdefaultencoding(...). >=20 > Why do you say that? Because the comment says it, or because you > actually did get the attribute error when changing site.py? >=20 > > See code from site.py: > > if encoding !=3D "ascii": > > # On Non-Unicode builds this will raise an AttributeError... > > sys.setdefaultencoding(encoding) # Needs Python=20 > Unicode build ! >=20 > I'm pretty sure that you got this exception because you tried to > invoke sys.setdefaultencoding outside of site.py >=20 > > Once again, anyone know how to activate the unicode support, without > > having to do an x.encode('latin-1') manually for each string? >=20 > It is already activated. Please explain *exactly* what you did if you > want more help. >=20 > Regards, > Martin >=20 From confirm-s2-oUAuzXAgtViwWf0GRcFYm7ysMyE-i18n-sig=python.org@yahoogroups.com Mon Aug 12 18:01:53 2002 From: confirm-s2-oUAuzXAgtViwWf0GRcFYm7ysMyE-i18n-sig=python.org@yahoogroups.com (Yahoo! Groups) Date: 12 Aug 2002 17:01:53 -0000 Subject: [I18n-sig] Please confirm your request to join locales Message-ID: <1029171713.27.44114.w44@yahoogroups.com> Hello i18n-sig@python.org, We have received your request to join the locales group hosted by Yahoo! Groups, a free, easy-to-use community service. This request will expire in 21 days. TO BECOME A MEMBER OF THE GROUP: 1) Go to the Yahoo! Groups site by clicking on this link: http://groups.yahoo.com/i?i=oUAuzXAgtViwWf0GRcFYm7ysMyE&e=i18n-sig%40python%2Eorg (If clicking doesn't work, "Cut" and "Paste" the line above into your Web browser's address bar.) -OR- 2) REPLY to this email by clicking "Reply" and then "Send" in your email program If you did not request, or do not want, a membership in the locales group, please accept our apologies and ignore this message. Regards, Yahoo! Groups Customer Care Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ From vlad Wed Aug 14 06:00:59 2002 From: vlad (Vlad Andrijannikov) Date: Wed, 14 Aug 2002 11:00:59 +0600 Subject: [I18n-sig] Re: I18n-sig digest, Vol 1 #308 - 1 msg In-Reply-To: <20020813160008.2793.5988.Mailman@mail.python.org> References: <20020813160008.2793.5988.Mailman@mail.python.org> Message-ID: <1341209832196.20020814110059@sngb.ru> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, i18n-sig-request. =C2=FB =EF=E8=F1=E0=EB=E8 Tuesday, August 13, 2002, 22:00:08: isrpo> Send I18n-sig mailing list submissions to isrpo> i18n-sig@python.org isrpo> To subscribe or unsubscribe via the World Wide Web, visit isrpo> http://mail.python.org/mailman/listinfo/i18n-sig isrpo> or, via email, send a message with subject or body 'help' to isrpo> i18n-sig-request@python.org isrpo> You can reach the person managing the list at isrpo> i18n-sig-admin@python.org isrpo> When replying, please edit your Subject line so it is more specifi= c isrpo> than "Re: Contents of I18n-sig digest..." isrpo> Today's Topics: isrpo> 1. Please confirm your request to join locales (Yahoo! Groups) isrpo> --__--__-- isrpo> Message: 1 isrpo> Date: 12 Aug 2002 17:01:53 -0000 isrpo> From: Yahoo! Groups isrpo> Reply-To: confirm-s2-oUAuzXAgtViwWf0GRcFYm7ysMyE-i18n-sig=3Dpython= .org@yahoogroups.com=20 isrpo> To: i18n-sig@python.org=20 isrpo> Subject: [I18n-sig] Please confirm your request to join locales isrpo> Hello i18n-sig@python.org, isrpo> We have received your request to join the locales=20 isrpo> group hosted by Yahoo! Groups, a free, easy-to-use community servi= ce. isrpo> This request will expire in 21 days. isrpo> TO BECOME A MEMBER OF THE GROUP:=20 isrpo> 1) Go to the Yahoo! Groups site by clicking on this link: isrpo> http://groups.yahoo.com/i?i=3DoUAuzXAgtViwWf0GRcFYm7ysMyE&e=3Di= 18n-sig%40python%2Eorg=20 isrpo> (If clicking doesn't work, "Cut" and "Paste" the line above into= your=20 isrpo> Web browser's address bar.) isrpo> -OR- isrpo> 2) REPLY to this email by clicking "Reply" and then "Send" isrpo> in your email program isrpo> If you did not request, or do not want, a membership in the isrpo> locales group, please accept our apologies isrpo> and ignore this message. isrpo> Regards, isrpo> Yahoo! Groups Customer Care isrpo> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info= /terms/=20 =20 isrpo> --__--__-- isrpo> _______________________________________________ isrpo> I18n-sig mailing list isrpo> I18n-sig@python.org isrpo> http://mail.python.org/mailman/listinfo/i18n-sig isrpo> End of I18n-sig Digest --=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC, Vlad mailto:vlad@sngb.ru From confirm-s2-x4N6ggw9Sm67vb=EZukmFLfLcd0-i18n-sig=python.org@yahoogroups.com Thu Aug 15 04:58:03 2002 From: confirm-s2-x4N6ggw9Sm67vb=EZukmFLfLcd0-i18n-sig=python.org@yahoogroups.com (Yahoo! Groups) Date: 15 Aug 2002 03:58:03 -0000 Subject: [I18n-sig] Please confirm your request to join locales Message-ID: <1029383883.196.40588.w10@yahoogroups.com> Hello i18n-sig@python.org, We have received your request to join the locales group hosted by Yahoo! Groups, a free, easy-to-use community service. This request will expire in 21 days. TO BECOME A MEMBER OF THE GROUP: 1) Go to the Yahoo! Groups site by clicking on this link: http://groups.yahoo.com/i?i=x4N6ggw9Sm67vb-EZukmFLfLcd0&e=i18n-sig%40python%2Eorg (If clicking doesn't work, "Cut" and "Paste" the line above into your Web browser's address bar.) -OR- 2) REPLY to this email by clicking "Reply" and then "Send" in your email program If you did not request, or do not want, a membership in the locales group, please accept our apologies and ignore this message. Regards, Yahoo! Groups Customer Care Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ From Misha.Wolf@reuters.com Fri Aug 16 17:11:09 2002 From: Misha.Wolf@reuters.com (Misha.Wolf@reuters.com) Date: Fri, 16 Aug 2002 17:11:09 +0100 Subject: [I18n-sig] 22nd Unicode Conference, Sep 2002, San Jose, CA -- Just 3 weeks to go! Message-ID: *********************************************************************** Register now! > Just 3 weeks to go > Register now! > Just 3 weeks to go *********************************************************************** Twenty-second International Unicode Conference (IUC22) Unicode and the Web: Evolution or Revolution? http://www.unicode.org/iuc/iuc22 September 9-13, 2002 San Jose, California *********************************************************************** Full program now live! >> Five days of 3 tracks! >> Check the Web site! *********************************************************************** NEWS > Visit the Conference Web site ( http://www.unicode.org/iuc/iuc22 ) to check the Conference program and register. To help you choose Conference sessions, we've included abstracts of talks and speakers' biographies. > Guest rooms at the DoubleTree Hotel San Jose still available at the conference rate. > Early bird registration rate extended to 23 August. CONFERENCE SPONSORS Agfa Monotype Corporation Basis Technology Corporation Microsoft Corporation Netscape Communications Oracle Corporation Reuters Ltd. Sun Microsystems, Inc. World Wide Web Consortium (W3C) GLOBAL COMPUTING SHOWCASE Visit the Showcase to find out more about products supporting the Unicode Standard, and products and services that can help you globalize/localize your software, documentation and Internet content. For details, visit the Conference Web site. CONFERENCE VENUE The Conference will take place at: DoubleTree Hotel San Jose 2050 Gateway Place San Jose, CA 95110 USA Tel: +1 408 453 4000 Fax: +1 408 437 2898 CONFERENCE MANAGEMENT Global Meeting Services Inc. 8949 Lombard Place, #416 San Diego, CA 92122, USA Tel: +1 858 638 0206 (voice) +1 858 638 0504 (fax) Email: info@global-conference.com or: conference@unicode.org THE UNICODE CONSORTIUM The Unicode Consortium was founded as a non-profit organization in 1991. It is dedicated to the development, maintenance and promotion of The Unicode Standard, a worldwide character encoding. The Unicode Standard encodes the characters of the world's principal scripts and languages, and is code-for-code identical to the international standard ISO/IEC 10646. In addition to cooperating with ISO on the future development of ISO/IEC 10646, the Consortium is responsible for providing character properties and algorithms for use in implementations. Today the membership base of the Unicode Consortium includes major computer corporations, software producers, database vendors, research institutions, international agencies and various user groups. For further information on the Unicode Standard, visit the Unicode Web site at http://www.unicode.org or e-mail * * * * * Unicode(r) and the Unicode logo are registered trademarks of Unicode, Inc. Used with permission. ------------------------------------------------------------- --- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. From j-david@noos.fr Wed Aug 21 09:43:30 2002 From: j-david@noos.fr (=?ISO-8859-1?Q?Juan_David_Ib=E1=F1ez_Palomar?=) Date: Wed, 21 Aug 2002 10:43:30 +0200 Subject: [I18n-sig] Plural forms Message-ID: <3D6352B2.60402@noos.fr> Hi all, The Gettext tools support plural forms, but I think that the Python gettext module doesn't, is this right? I'd like to contribute in this area, is this posible? Which would be the procedure? Is a PEP required? Should I do a patch to the module and send it somewhere? Needs it a new branch in the CVS? Is there a chance for this feature to be included in Python 2.3? ... Thanks in advance, -- J. David Ibáñez, http://www.j-david.net Software Engineer / Ingénieur Logiciel / Ingeniero de Software From Misha.Wolf@reuters.com Thu Aug 29 19:09:41 2002 From: Misha.Wolf@reuters.com (Misha.Wolf@reuters.com) Date: Thu, 29 Aug 2002 19:09:41 +0100 Subject: [I18n-sig] 22nd Unicode Conference, Sep 2002, San Jose, CA -- Just 1 week to go! Message-ID: *********************************************************************** Register now! > Just 1 week to go! > Register now! > Just 1 week to go! *********************************************************************** Twenty-second International Unicode Conference (IUC22) Unicode and the Web: Evolution or Revolution? http://www.unicode.org/iuc/iuc22 September 9-13, 2002 San Jose, California *********************************************************************** Full program now live! >> Five days of 3 tracks! >> Check the Web site! *********************************************************************** NEWS > Visit the Conference Web site ( http://www.unicode.org/iuc/iuc22 ) to check the Conference program and register. To help you choose Conference sessions, we've included abstracts of talks and speakers' biographies. > Guest rooms at the DoubleTree Hotel San Jose still available at the conference rate. CONFERENCE SPONSORS Agfa Monotype Corporation Basis Technology Corporation Microsoft Corporation Netscape Communications Oracle Corporation Reuters Ltd. Sun Microsystems, Inc. World Wide Web Consortium (W3C) GLOBAL COMPUTING SHOWCASE Visit the Showcase to find out more about products supporting the Unicode Standard, and products and services that can help you globalize/localize your software, documentation and Internet content. For details, visit the Conference Web site. CONFERENCE VENUE The Conference will take place at: DoubleTree Hotel San Jose 2050 Gateway Place San Jose, CA 95110 USA Tel: +1 408 453 4000 Fax: +1 408 437 2898 CONFERENCE MANAGEMENT Global Meeting Services Inc. 8949 Lombard Place, #416 San Diego, CA 92122, USA Tel: +1 858 638 0206 (voice) +1 858 638 0504 (fax) Email: info@global-conference.com or: conference@unicode.org THE UNICODE CONSORTIUM The Unicode Consortium was founded as a non-profit organization in 1991. It is dedicated to the development, maintenance and promotion of The Unicode Standard, a worldwide character encoding. The Unicode Standard encodes the characters of the world's principal scripts and languages, and is code-for-code identical to the international standard ISO/IEC 10646. In addition to cooperating with ISO on the future development of ISO/IEC 10646, the Consortium is responsible for providing character properties and algorithms for use in implementations. Today the membership base of the Unicode Consortium includes major computer corporations, software producers, database vendors, research institutions, international agencies and various user groups. For further information on the Unicode Standard, visit the Unicode Web site at http://www.unicode.org or e-mail * * * * * Unicode(r) and the Unicode logo are registered trademarks of Unicode, Inc. Used with permission. ------------------------------------------------------------- --- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.