Yep :p I thought that might be the case from the thread title.
msg() runs the text processor to change the string, then sends it to the browser. If you do CapFirst before running the text processor, you're just capitalising the {
(which makes no difference, because it isn't a letter)