On Wed, Aug 10, 2016, at 15:08, Steve Dower wrote: > Testing with obscure filenames and strings is where help will be needed > most :) How about filenames with invalid surrogates? For added fun, consider that the file system encoding is normally used with surrogateescape.