There was a bug that was resetting the extra amount of space needed when encoding unicode characters with the `uescape` option enabled.