one way to get around this curly quote problem is to use a plugin like the
syntax highlighter
You can probably find other plugins that have a more neutral look, but it is also possible to style this plugin in the backend of wordpress and if that's not enough, it has it's own stylesheet you can fiddle with. I guess you are probably looking for a simpler solution, so maybe someone else knows of an easier way to do it
Edit: Googled it and found out that you pan paste this in your functions.php
remove_filter('the_content', 'wptexturize');
and it will get rid of the curly brackets altogether. I just tried it and it works. A shame though if you like the curly brackets in general, but just want to remove it from code.
Bookmarks