base64 filter: Added ability to specify encoding (#39714)

* base64 filter: Added ability to specify encoding

* Added unicode chars for further testing

* Removed errors to keep previous behaviour in place

* Removed surrogate pairs due to issues loading YAML in CI
This commit is contained in:
Jordan Borean
2018-05-05 09:16:58 +10:00
committed by GitHub
parent b5cffe8ced
commit fc210a4584
4 changed files with 22 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
minor_changes:
- Added an ``encoding`` option to the ``b64encode`` and ``b64decode`` filters
to specify the encoding of the string that is base64 encoded.