I've tried to use the pst-barcode to generate QR codes, and ran into an issue with foreign characters.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pst-barcode}
\begin{document}
\begin{pspicture}(1in,1in)
\psbarcode{ÆØÅæøå}{width=1.0 height=1.0}{qrcode}
\end{pspicture}
ÆØÅæøå
\end{document}
Incorrect (and complex) QR code
This does not give the expected (or wanted) result. Removing the \usepackage[utf8]{inputenc}
solves the pst-barcode problem:
\documentclass{article}
\usepackage{pst-barcode}
\begin{document}
\begin{pspicture}(1in,1in)
\psbarcode{ÆØÅæøå}{width=1.0 height=1.0}{qrcode}
\end{pspicture}
ÆØÅæøå
\end{document}
Correct QR code, but wrong encoding for text in LaTeX
However, this breaks the input encoding of LaTeX... I presume that pst-barcode does not support UTF8.
What would be the best way to get both UTF-8 encoded LaTeX and correct QR codes for foreign characters?
!
before them, then one with enough reputation can append it for them to appear inline.