1.4.3 - return empty arrays if nothing was written and no encoding is specified