2012/2/18 Dr. Trigon <[email protected]>

>
> Meanwhile I just can tell you how I handle that - I use a script that
> sets (sys.argv[1:]) to the value I want.

Could you show me an example, how do you mean that?


> 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'.
>
Well, this is not about Cyrillic; Cyrillic was just the first reason to
begin to deal with the question. I don't know how to set the consol to
Cyrillic under a Hungarian Windows 7, and how to keep my own caharcters
meanwhile, too. Is that possible at all?

The trick I want to do is to write a Python script that uses other scripts.
All my Python scripts are encoded as Unicode without BOM, that's safe and
uniform. From that point I have to pass Hungarian (or even German) letters
as Unicode.

Is it perhaps possible to encode my Unicode parameters with some function
in the way that _decodeArg gives them back in their original state to
handleArgs? This would be the simpliest solution.

-- 
Bináris
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to