-----BEGIN PGP SIGNED MESSAGE-----
Again the question: "any unicode-expert out there?"
Meanwhile I just can tell you how I handle that - I use a script that
sets (sys.argv[1:]) to the value I want. This can be considered as VERY
hacky (and bad style) but works. I assume that should also work with
Cyrillic unicode, but not sure...
Another question to me (when lookin at '_decodeArg') is; have you tried
to add another encoding there? To me it seems as your console has to use
another one in order to be able to handle Cyrillic letters. I think we
have ti fix '_decodeArg'.
(sorry - this are just question and is no real help)
On 18.02.2012 12:42, Bináris wrote:
Hi guys, can anyone comment this please?
I want to write scripts which import and call other scripts with
command line Unicode parameters passed them as normal parameters,
but _decodeArg in handleArgs() stops me. More details in the
2012/2/14 Bináris <wikiposta(a)gmail.com
I don't want to spoil handleArgs() and I know this is an unusual
use of it. But is it possible in some way to pass a parameter to it
that tells _decodeArg to shut up? Or is there another correct way
of passing Unicode parameters from within a script?
mailing list Pywikipedia-l(a)lists.wikimedia.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----