Hi list, I am writing some admin-tools and therefore make use of win32net.NetLocalGroupEnum() method. Everything works fine except for outputing the results. I get the error message that ASCII only has 128 valid characters. In german Windows 2K vers the default Admin- Account contains a auml (ae / ä) - letter.Using locale.setlocale(locale.LC_ALL, 'de') as suggested in the library-reference also fails for some reason.
Finally I got to converting the result with msg.encode('latin-1') which didn' t produce an error but mismapped the character. a german auml (ae) became a otilde (o~) - didn' t check for other mismatches. The same with other applying layouts i tried. My question is if anyone had similar problems? Is this some misconfiguration of code-pages? Or do i have to perform manual character-mapping... which did work but didn' t look reasonable at all... thanks for your inputs in advance, greets, julian ___________________________________________________________ Julian Schaefer-Jasinski mailto:[EMAIL PROTECTED] Frankfurt, Germany _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython