Use an empty string as default encoding argument for encoding

Authored by dereckson on Apr 16 2018, 23:25.

Description

Use an empty string as default encoding argument for encoding

Summary:
Nullable strings can be avoided when an empty string isn't a supported value.

This is a follow-up for 15ddc8ad7a9e.

Test Plan: New tests with default arguments provided.

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1605

Details

Committed
derecksonApr 16 2018, 23:27
Pushed
derecksonApr 16 2018, 23:28
Reviewer
dereckson
Differential Revision
D1605: Use an empty string as default encoding argument for encoding
Parents
rKOT15ddc8ad7a9e: Allow to pad an UTF-8 or other multibyte string
Branches
Unknown
Tags
Unknown