Thank you for sharing your solution.
My current solution: avoid the issue entirely and don't use Unicode in
your source code, use pretty-mode instead:
https://github.com/akatov/pretty-mode
A future option: switch from PDFLaTeX to XeLaTeX of LuaLaTeX.
Both are great. The latter is ideal, and does
Just following up with my solution, in case anyone else is interested
(thanks to John Kitchin for pointing me in the right direction). First, I
should note that 'ยต' exported correctly because I was using the unicode
element 'MICRO SYMBOL' instead of 'GREEK SMALL LETTER MU' (which looks the
same, bu
I've become fond of using Greek symbols in my R code (mu, sigma, etc). R
handles these just fine, but most of them disappear in the listing when I
export to LaTeX (lower-case mu comes through OK). I think the basic problem
is the the listings package can't handle the characters. I've come across
so