Wrong Content-length when Unicode compiled.templates are sent through XHR

The fix was easy, but important.

Try view with for example this: "…" char (unicode) and after it have some numbers to see the results.