more UTF-8 fix for runtime templates