I'm writing a report about a website I'm working on to play cards online. I use lstlisting to display my PHP, JavaScript and HTML code. The problem is that I'm using a lot of µ's in my JavaScript codes. For example:
\begin{lstlisting}[caption=some code]
µ.a('error', µ.m('Server responded: ' + r));
\end{lstlisting}
I use the micro symbol because i wanted to have a shortcut for certain functions.
Now, the problem is that LaTeX won't compile these µ's. As output I get to see .a('error', .m('Server responded: ' + r)); LaTeX simply seems to ignore those µ's. I tried to fix this by using:
\usepackage[utf8x]{inputenc}
but this leads to an error: Package utf8x Error: Character181appearedalone.
Any toughts on how to fix this? Thanks!

EDIT: I'm using MikTeX, and doesn't that have XeTeX included?
– Sebastian Apr 24 '12 at 15:48\begin{lstlisting}[escapechar=\#]and then#$\alpha$#or#$\mu$#in your case. – Ailurus Apr 24 '12 at 16:09