From 047288ea3d12a6da0259dc0ff8821d0393269d7b Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 15 Nov 2020 21:33:49 -0500 Subject: [PATCH] Add some encoding test files. --- test/files/encodings/cp-1252.txt | 1 + test/files/encodings/utf-16be-nobom.txt | Bin 0 -> 382 bytes test/files/encodings/utf-16be.txt | Bin 0 -> 384 bytes test/files/encodings/utf-16le-nobom.txt | Bin 0 -> 382 bytes test/files/encodings/utf-16le.txt | Bin 0 -> 384 bytes test/files/encodings/utf-8-bom.txt | 1 + test/files/encodings/utf-8.txt | 1 + 7 files changed, 3 insertions(+) create mode 100644 test/files/encodings/cp-1252.txt create mode 100644 test/files/encodings/utf-16be-nobom.txt create mode 100644 test/files/encodings/utf-16be.txt create mode 100644 test/files/encodings/utf-16le-nobom.txt create mode 100644 test/files/encodings/utf-16le.txt create mode 100644 test/files/encodings/utf-8-bom.txt create mode 100644 test/files/encodings/utf-8.txt diff --git a/test/files/encodings/cp-1252.txt b/test/files/encodings/cp-1252.txt new file mode 100644 index 0000000..9b49ddf --- /dev/null +++ b/test/files/encodings/cp-1252.txt @@ -0,0 +1 @@ +Copyright symbol: © diff --git a/test/files/encodings/utf-16be-nobom.txt b/test/files/encodings/utf-16be-nobom.txt new file mode 100644 index 0000000000000000000000000000000000000000..194ec241c4e45acac19e1f79298405584ad84f2a GIT binary patch literal 382 zcmb7=&1%9x6h_Zl@EydpNVRk$bRj{gXj*8*B8`ZxK?9OVG_<~bPXbxhjSMq$zn{6^ zW%wW^V@J*pXF9x-u$Mb?q2MYrQB6g;xWiJtP))^|_=!Fbt~RZDfAYf2H!C*Gc_U!# zy&?1t)TX?u#zZ`#{L84GzjxO;3r($v-e{IC77KT(r6x&QzG literal 0 HcmV?d00001 diff --git a/test/files/encodings/utf-16be.txt b/test/files/encodings/utf-16be.txt new file mode 100644 index 0000000000000000000000000000000000000000..c96e3d8838fa21839fb4424495166eac31d0310e GIT binary patch literal 384 zcmb7=O>4qH6h+Tk@IQ#_B7V?Kp$iEGMPs2#i>OG|paDrFDy@IM_9T#%Ze*C5cR%Lc z$NXLSA|_!&$`40sd=RmfJ8~l9BJ-vii&AloPxVYS7AN9o8Z=#1D#f1BW8j-9ONP7? z(DhytdIxHKMyhkhI>t<_Ls7ulu9>|PlY*jmo}aSU70KnEJh5cwrbN!SlKs}Xah9Rg zMSRw^D5k0VdM%rHrg|b>q4+?ZS9aoGUW)mj9y;6H^S4YW`Hm@No&V2m?T`HfOhY-h literal 0 HcmV?d00001 diff --git a/test/files/encodings/utf-16le-nobom.txt b/test/files/encodings/utf-16le-nobom.txt new file mode 100644 index 0000000000000000000000000000000000000000..c8e299a0ef40e524284299f26c8d6e4c75263fcb GIT binary patch literal 382 zcmb7=O>4qH6h+Tk=zkE`Qf!MG!9@vzMN>gVDOJRepaDrrRMda(nLt+UrVKOl?#I0Q zm^mpKJ94g^s52&EFL&Zh!Cj`Onu>C9otb)}nu;@Vn`c_CCu-&Xrq94PU#u81BI4b9 zMeH4^eekKeV4`Ef)H)VLTuE=)BKx&QzG literal 0 HcmV?d00001 diff --git a/test/files/encodings/utf-16le.txt b/test/files/encodings/utf-16le.txt new file mode 100644 index 0000000000000000000000000000000000000000..1a1ddde36951296ae161d791a2b713b1e0e783ad GIT binary patch literal 384 zcmb7=O>4qH6h+Uv;C~R;Mby$w!G#1tscE5>N--jS1Pzo#Vx{`$ZO;U(UdU;eHMHGgMHU5EeqU56k00fYTH Aw*UYD literal 0 HcmV?d00001 diff --git a/test/files/encodings/utf-8-bom.txt b/test/files/encodings/utf-8-bom.txt new file mode 100644 index 0000000..906ce25 --- /dev/null +++ b/test/files/encodings/utf-8-bom.txt @@ -0,0 +1 @@ +Copyright symbol: © diff --git a/test/files/encodings/utf-8.txt b/test/files/encodings/utf-8.txt new file mode 100644 index 0000000..707f547 --- /dev/null +++ b/test/files/encodings/utf-8.txt @@ -0,0 +1 @@ +Copyright symbol: ©