-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
csv module utils: detect unicode BOM in content #6662
csv module utils: detect unicode BOM in content #6662
Conversation
recheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. If nobody objects, I'll merge this in ~a week.
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6694 🤖 @patchback |
* csv module utils: detect unicode BOM in content * fix handling of py2 * fix comment * add changelog frag * add missing link * simplification (cherry picked from commit bb21693)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6695 🤖 @patchback |
* csv module utils: detect unicode BOM in content * fix handling of py2 * fix comment * add changelog frag * add missing link * simplification (cherry picked from commit bb21693)
@russoz thanks for fixing this! |
…de BOM in content (#6694) csv module utils: detect unicode BOM in content (#6662) * csv module utils: detect unicode BOM in content * fix handling of py2 * fix comment * add changelog frag * add missing link * simplification (cherry picked from commit bb21693) Co-authored-by: Alexei Znamensky <[email protected]>
…de BOM in content (#6695) csv module utils: detect unicode BOM in content (#6662) * csv module utils: detect unicode BOM in content * fix handling of py2 * fix comment * add changelog frag * add missing link * simplification (cherry picked from commit bb21693) Co-authored-by: Alexei Znamensky <[email protected]>
SUMMARY
If CSV content contains a BOM marker then remove it from the content
Fixes #544
ISSUE TYPE
COMPONENT NAME
plugins/module_utils/csv.py