-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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)
Greetings DrTrigon
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 previous.
2012/2/14 Bináris <wikiposta@gmail.com mailto:wikiposta@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?
-- Bináris
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l