Skip to content

Commit

Permalink
Added PYTHONIOENCODING per encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
doekman committed Jul 24, 2019
1 parent 5785f06 commit bb0f2dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/iso_latin_1/.ok
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file is encoded with ISO-8859-1 (or Western ISO Latin 1)
export PYTHONIOENCODING="latin_1"
echo "A0-AF: ��������������� (including NO-BREAK SPACE and SOFT HYPHEN)"
echo "B0-BF: ����������������"
echo "C0-CF: ����������������"
Expand Down
1 change: 1 addition & 0 deletions test/mac_os_roman/.ok
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# only one comment
export PYTHONIOENCODING="mac_roman"
echo 'H�, �r �s g��n b�l �p de TV!'
1 change: 1 addition & 0 deletions test/utf_8/.ok
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# A full Unicode UTF-8 encoded .ok-file
export PYTHONIOENCODING="UTF-8"
echo "Hi ㋛, how is it going?"
echo "Ⓘ ⓐ ⓜ ⓦ ⓔ ⓛ ⓛ , 🅣 🅗 🅐 🅽 🅚 🆈 🅾 🆄 ❕"

0 comments on commit bb0f2dc

Please sign in to comment.