diff options
author | Geoff Williams <GeoffWilliams@users.noreply.github.com> | 2017-03-14 01:24:36 +1100 |
---|---|---|
committer | Paula McMaw <paula@puppet.com> | 2017-03-13 14:24:36 +0000 |
commit | 46e3a2349e9eef4001db8be9581fae9dfbccaf14 (patch) | |
tree | 999af0329383b541ec2cd782cdaa47ede5f32791 /spec/acceptance/swapcase_spec.rb | |
parent | 70d071ba6fa3cf611e5dbdc1cba1343255edf978 (diff) |
(#FM-6068) allow file encoding to be specified (#726)
* (#FM-6068) allow file encoding to be specified
Add a new parameter `encoding` to allow non UTF-8 files to specify a file encoding. This prevents receiving the error message "invalid byte sequence in UTF-8" when special characters that are not UTF-8 encoded appear in the input stream, such as the copyright symbol.
* (#FM-6068) allow file encoding to be specified
Added docs and tests as requested
Diffstat (limited to 'spec/acceptance/swapcase_spec.rb')
0 files changed, 0 insertions, 0 deletions