Add with_default_charset helper.

Use `with_default_charset` to avoid hardcoded values in ensure block.

\cc @senny