News for hackers. Stuff that matters.
Re:This should never happen by chopin on Thursday March 31, 2016 @02:26PM (#11399381)
This one bothers me every time. Other parts in the library provide a checked and an unchecked variant to achieve the same. If you put in a hardcoded string, you know it never fails.

BTW I made a (almost religious) habit out of ensuring that everything I touch is encoded UTF-8 or can be converted to that as I have been bitten several times hard by unexpected encoding stuff. Therefore, the above problem catches me pretty often.

There are no comments on this comment yet.