I try below sample but can not pass compile:
\documentclass{article}
\begin{document}
├── version.txt
└── visible_windows.zip
\end{document}
Error:
! Missing $ inserted.
<inserted text>
$
l.4 └── visible_
windows.zip
? x
content is output of tree command from linux.
_
and in latex and plain you need to change both, but to suggest that some formats can do this and some not is ...._
is set with catcode 8. This thread is only one example of such mistakes. I know that If you will design a new format from scratch then you don't set the catcode 8 to_
in order to avoid such user mistakes. But, of course, LaTeX must keep old principles.