The font image for the letter I and W are different widths in most fonts, so using $chr(160) which is normally a space, well only result in x number of spaces, which wont equal the width of the text, it might be wider or skinnier, dependent on the font used for the text,

aka, well only work with fixed width fonts, font that have the same width for each character.