Mercurial > p > roundup > code
view tools/base64 @ 3413:b24b75f2a728 maint-0.8
Fix RDBMS indexer indexing UTF-8 words that encode to > 30 chars
(a better fix would be nice)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 28 Sep 2005 05:41:19 +0000 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
