Bugs item #631774, was opened at 2002-10-31 22:46 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=631774&group_id=103
Category: None Group: 2.1 beta Status: Open Resolution: None Priority: 5 Submitted By: Simone Piunno (pioppo) Assigned to: Nobody/Anonymous (nobody) Summary: i18n unicode string interpolation Initial Comment: Hi, below you can find a report from one of the italian translators (thanks Enea Zaffanella). I believe somewhere between 2.1b3 and b4 a string has been converted into unicode and now string interpolation is not working anymore as expected. Here u'' appears in html output (generated by admin.py): ====================================== <table BORDER="2"> <tr> <td><center><strong>Indirizzo/nome</strong></center></td> <td><center><strong>La tua decisione</strong></center></td> <td><center><strong>Motivo del rifiuto</strong></center></td> </tr> <tr> ********************************************************************** <td>u'[EMAIL PROTECTED]<br><em>Enea Zaffanella</em>'</td> ********************************************************************** <td> <table CELLSPACING="5"> <tr> <td><input name="14" type="RADIO" value="0" CHECKED >Rimando la decisione</td> <td><input name="14" type="RADIO" value="4" >Approvo</td> <td><input name="14" type="RADIO" value="2" >Rigetta</td> <td><input name="14" type="RADIO" value="3" >Scarta</td> </tr> </table> ================================ And here (adminsubscribeack.txt) interpolation doesn't happen: ================================ %(member)s è stato iscritto con successo a %(listname)s. ================================ They are 2 different cases: one is _(string) and the other is Utils.Maketext(a template, dictionary of strings), so this suggests even more that i18n.py has been screwed up by unicode. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=631774&group_id=103 _______________________________________________ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-developers