forked from upstream/UXP-mirror
Not really sure how to categorize these, except they are either language-related cleanups, small bug fixes, or are careful to decode things using the preferred OS encoding where reasonable. A lot of UTF-8 only worked by luck because it only tried to decode ASCII bytes, or had good replacements for bad chars due to explicit error handling. I'm basically just commiting the last state before I update gyp, because I can't really proceed without updating it, and that's a big enough step I want it to have its own commit... and also don't want it mixed in with other stuff.