summaryrefslogtreecommitdiff
path: root/to-ascii
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
committerPatrick Simianer <patrick@lilt.com>2026-02-26 10:05:59 +0000
commitb31ace79ea5f6b3f279c544cd3a443d6fbf2a24d (patch)
tree31f2b599fa5f6996aeb134390d58deb63eefe04a /to-ascii
parent8805e95ae94d798c6441f7e1b72c90e049563f17 (diff)
overhaulHEADmaster
Diffstat (limited to 'to-ascii')
-rwxr-xr-xto-ascii5
1 files changed, 2 insertions, 3 deletions
diff --git a/to-ascii b/to-ascii
index 10fd1c2..7e2a842 100755
--- a/to-ascii
+++ b/to-ascii
@@ -4,9 +4,8 @@ while line = STDIN.gets
encoding_options = {
:invalid => :replace,
:undef => :replace,
- :replace => '?',
+ :replace => "?",
:universal_newline => true
}
- puts line.encode 'ASCII', encoding_options
+ puts line.encode "ASCII", encoding_options
end
-