[issue:318] italian.ldf error on platex
Hi Claudio, Thanks for maintaining the package babel-italian. But I noticed that \usepackage[italian]{babel} cannot be used on platex and uplatex after TeX Live 2018: MWE: \documentclass{article} \usepackage[italian]{babel} \begin{document} a \end{document} Error: ! Bad character code (8217). <to be read again> = l.3 \begin{document} ? The problem lies in \lccode"2019, as * pTeX and upTeX are not Unicode-compliant, so \lccode allows only 0--255. * pdfTeX is not Unicode-compilant either, so \lccode should never work for 256 or larger code (silently ignored without error?) Therefore, I propose the patch attached; here I used \Umathcode for detecting truely Unicode-compilant engines (= LuaTeX and XeTeX). Best regards, Hironobu --- Hironobu YAMASHITA GitHub: https://github.com/aminophen Japanese TeX Development Community https://texjp.org/