I've just noticed that the "Full Profile" page for Moodle users does some weird decimal/hex encoding of characters of the user email address. I thought at first that maybe something was screwed up on my Moodle site, but I found that the same thing occurs on this Using Moodle site. For example upon clicking on one of the new users to this site: Jose Ramon Rodelgo, and clicking on "Show Source" in my browser, I find that his email address jr2@telefonica.net is encoded in the following weird way:
<a href=
"mailto:%6a%722@t%65%6c%65%66%6f%6eica%2e%6ee%74"
title=
jr2@telefonica.net
>
jr2@telefonica.net
</a>
Most, but not all, characters are decimal encoded in the form &#xxx or hex encoded as %xx. For example in the href part, the "ica" in telefonica is not encoded. Now I don't see any reason to encode the email address. It is supposed to consist of standard 7-bit ascii characters by some Internet RFC.
The reason I noticed this, is that this weird mixture of decimal/hex encoded and nonencoded characters sometimes results in incorrect characters being rendered by the browser: eg. if the 5 in 54 is decimal encoded as 5, while 4 is not encoded, the result is Ȗ, which is some weird unicode character.
By the way there are also some weird characters showing up in the "Moodle sites" page on moodle.org. Perhaps that is another manifestation of this problem.