If you want html entities rather than characters, you'll have to convert them yourself. If your code already contains entities (instead of characters) calibre will leave them alone unless you use the Beautify or Fix HTML tools (which will convert them to characters). There is no "Convert these unicode characters to html entities" tool. But it shouldn't be too hard to save some regex or a python S&R function to do what you want.
|