Andy, I can't help you with your code. But if you click on the first icon above the editor box, two As, you want to be in SOURCE mode, not WYSIWYG.
Then this will always work:
%01010101
To set this by default, click on SETTINGS at top right, then GENERAL SETTINGS, then at Message Editor Interface, click on Standard Editor - Extra formatting controls.
Robert
Bookmarks