why does it get mangled up and how does this fix it?

I'm so confused by all the ways to print: printf, print, print -Pn, echo -En, echo, etc... All comes with each subtle inconsistencies.