a newbie here ;)
I'm trying to create a box around every character of a super long string (eg. let's say something like all the unicode chars) loaded from an external file (inputlisting probably?).
I need the boxes to be 1em ✕ 1em to be visually appealing, or any fixed defined size.
I don't know the number of columns that fit into the linewidth and I expect to find a solution that handles breaklines and on multiple pages.
The result should be something like this:

In your opinion is tabular the way to go (eg. this) or something like this to loop over strings?
I feel like ltxtable and other stuff I found reading here and there are the way to go, but there are really dozens packages to handle tables, and I'm not able to find where to start from.
PS. No problem on go with solutions like luatex and similar as long as it works ;)

curcharthat holds the current character that is a number (the first 10000) and is then printed with the\Ucharcommand, right? Then how to pass an argument of myown stringto loop those characters? Another thing I'm also trying to remove the margin... without success :( following this options http://joshua.smcvt.edu/latex2e/_005cfbox-_0026-_005cframebox.html – pna Apr 13 '20 at 10:30