From 6d706891ad95093f969edc11d6edcb45c97efc48 Mon Sep 17 00:00:00 2001 From: alkamid Date: Thu, 25 Oct 2018 21:17:34 +0100 Subject: Make UTF-8 default encoding (and write pragma) When reading, leave ISO-8859-1 as the default, and only change stream encoding if #character-encoding present. When writing, set encoding to UTF-8 and write #character-encoding pragma at the top of the .gcg file. --- quackleio/iotest/capp.gcg | 1 + 1 file changed, 1 insertion(+) (limited to 'quackleio/iotest') diff --git a/quackleio/iotest/capp.gcg b/quackleio/iotest/capp.gcg index 7c1a05c..f93fb3f 100644 --- a/quackleio/iotest/capp.gcg +++ b/quackleio/iotest/capp.gcg @@ -1,3 +1,4 @@ +#character-encoding UTF-8 #player1 Brian Brian Cappelletto #player2 Pakorn Pakorn Nemitrmansuk #title WSC 2001 Round 20: Brian Cappelletto vs. Pakorn Nemitrmansuk -- cgit v1.2.3