[Mailman-Developers] Two patches
Balazs Nagy
julian7@kva.hu
Mon, 18 Jan 1999 14:26:15 +0100 (CET)
On Mon, 18 Jan 1999, Hermann Benedek wrote:
> I wrote two patches:
>
> -sendcommand: it creates two new command. The 'filelist' command sends the
> list of documents located in the $listdir/documents directory (filenames
> beginning with a '.' aren't included). The 'send filename' command sends a
> document to the user via email. This is only a quick code, because I needed
> it, please comment (I used the another parts of the code, because I'm not
> perfect in python...)
> (patch-sendcommand)
I think we want to define a method how to handle
- admin requests
- document services
via email.
I wrote a similar patch to handle admin requests, but I'll wait until the
stable release.
> -hungarian patch: perhaps this is useful for hungarian users. It includes
> the hungarian version of most of the files in the templates/ directory, and
> the hungarian version of the e-mail-messages (confirmation, welcome, request
> etc.)
> (patch-mailmanhu-1.0b8)
This is great because nowadays internationalization (i18n) is a great
effort in every package.
BUT... Did you try to enter an accented string to a WWW admin page? For
example 'általános' (== general in Hungarian). It will say
'\341ltal\341nos' next time. If you press a simple OK, you'll see
'\\341ltal\\341nos' next time. This is due to string parsing in Python and
I don't know how to handle it.
Regards: Jul (aka Balazs)
--
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)