From b31ace79ea5f6b3f279c544cd3a443d6fbf2a24d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 26 Feb 2026 10:05:59 +0000 Subject: overhaul --- to-ascii | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'to-ascii') 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 - -- cgit v1.2.3