Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/xml: character encoding detection should be case insensitive #12417
This document specifies that "XML processors should match character encoding names in a case-insensitive way".
I plan to propose a patch doing just that, as soon as I install the golang dev tools (it is kind of my first meeting with Go).
About the implementation, would you just write a simple comparison such as