On Tue, Jul 18, 2017 at 3:04 AM, H.Merijn Brand <h.m.brand@xs4all.nl> wrote: > > > I like this. What I miss here is a small example of how to guarantee > preventing double encoding/decoding, as I think that is what is > function is most often (erroneously) used for. > > This isn't something that you can guarantee. It always depends on knowing how you get your input. When people don't understand this they look for the magic bullet that is_utf8 appears to be, but it is not.Thread Previous | Thread Next