We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a user name has non ascii characters and script is used like: python listgroupsandmembers.py > user-report.csv
python listgroupsandmembers.py > user-report.csv
It fails with the following message: UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 86: ordinal not in range(128)
Probably not an elegant solution, but we fixed it adding ascii replace, so non ascii characters are replaced by "?" sign
membername=member['name'] membername=membername.encode('ascii', 'replace')
The reported issue does not appear when python listgroupsandmembers.py shows results on console.
The text was updated successfully, but these errors were encountered:
dwstern
No branches or pull requests
When a user name has non ascii characters and script is used like:
python listgroupsandmembers.py > user-report.csv
It fails with the following message:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 86: ordinal not in range(128)
Probably not an elegant solution, but we fixed it adding ascii replace, so non ascii characters are replaced by "?" sign
The reported issue does not appear when python listgroupsandmembers.py shows results on console.
The text was updated successfully, but these errors were encountered: