Decode Watchman file event filenames to UTF-8.
Review Request #3951 — Created May 29, 2016 and submitted
|jsirois, peiyu, stuhood|
watchman does not currently handle UTF-8 decoding (see https://github.com/facebook/watchman/wiki/Better-Unicode-handling-plan) in event payloads.
this is a quick change to add UTF-8 decoding of all filenames in the watchman change event handler to relieve an issue seen in #3524.
repro'd #3524 locally and added assertions to the integration test that failed prior to and succeeded after the change.
Address Peiyu's feedback.
Revision 2 (+15 -8)