Skip to content

Commit

Permalink
use utf-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
blackav committed Nov 17, 2024
1 parent e51c530 commit 0595308
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions scripts/pypy.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
# $Id$
# Copyright (c) 2014 Alexander Chernov <[email protected]>
#! /bin/bash
# Copyright (c) 2014-2024 Alexander Chernov <[email protected]>

# This is a `compilation' script for the Python language.
# The idea is to append "#!${PYTHONPATH}" string
Expand All @@ -27,7 +26,7 @@ then
fi

echo "#! ${PYTHONPATH} -W ignore ${EJUDGE_FLAGS}" > $2
echo "# coding: latin1" >> $2
echo "# coding: utf-8" >> $2
echo >> $2
cat $1 >> $2
chmod +x $2
Expand Down
2 changes: 1 addition & 1 deletion scripts/pypy3.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ then
fi

echo "#! ${PYTHONPATH} -W ignore ${EJUDGE_FLAGS}" > $2
echo "# coding: latin1" >> $2
echo "# coding: utf-8" >> $2
echo >> $2
cat $1 >> $2
chmod +x $2
Expand Down

0 comments on commit 0595308

Please sign in to comment.