summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tests
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-12-22 13:19:02 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-12-22 13:19:02 +0000
commita779c622afeb3ccf66cfb7d68af93f09dbb83d3e (patch)
tree0122c7d0b9e696697ae5de3721afe9c453d59ee3 /Build/source/texk/web2c/tests
parentb59f1b8ee635405865045db9ec4da3c7bec464f0 (diff)
xetex, pdftex: add test for filename with wide characters
git-svn-id: svn://tug.org/texlive/trunk@65331 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/tests')
-rw-r--r--Build/source/texk/web2c/tests/fn¢£¥µÆØß-utf8.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/tests/fn¢£¥µÆØß-utf8.tex b/Build/source/texk/web2c/tests/fn¢£¥µÆØß-utf8.tex
new file mode 100644
index 00000000000..6df48580a36
--- /dev/null
+++ b/Build/source/texk/web2c/tests/fn¢£¥µÆØß-utf8.tex
@@ -0,0 +1,23 @@
+% fn¢£¥µÆØß-utf8.tex
+% UTF-8 encoding, including Latin-1 characters
+\catcode`\{=1
+\catcode`\}=2
+
+\immediate\write16{JOB[\jobname] :: We are in fn¢£¥µÆØß-utf8.tex}
+
+\immediate\openout0=\jobname.txt
+\immediate\write0{abc αβγ абв あア※¥ 天地人}
+\immediate\closeout0
+
+\immediate\openout1=fn¢£¥µÆØß-utf8-tmp.tex
+\immediate\write1{\relax}
+\immediate\closeout1
+
+% current directory
+\input "|cat fn¢£¥µÆØß-utf8-tmp.tex"
+\input fn¢£¥µÆØß-utf8-tmp.tex
+
+% vir kpathsearch
+\input fn±×÷§¶-utf8.tex
+
+\relax\end