lib/remote_table/plaintext.rb in remote_table-3.0.0 vs lib/remote_table/plaintext.rb in remote_table-3.1.0
- old
+ new
@@ -26,10 +26,10 @@
# Remove bytes that are both useless and harmful in the vast majority of cases.
def delete_harmful!
harmful = [ Plaintext.soft_hyphen(encoding), UTF8_BOM ]
local_copy.in_place :perl, "s/#{harmful.join('//g; s/')}//g"
end
-
+
# No matter what the file encoding is SUPPOSED to be, run it through the system iconv binary to make sure it's UTF-8
#
# @example
# iconv -c -t UTF-8//TRANSLIT -f WINDOWS-1252
def transliterate_whole_file_to_utf8!