Dear Ken,
I am sorry that the result are not the same.
I need to show the characters accurately, because there would be the characters limitation.
There would be a javascript to do the character length limitation.
User will confuse that if the characters shown in editor is different from the javascript alert.