Skip to Content
Former Member
Feb 25, 2011 at 06:51 AM

loss space symbols Xstring to binary converting


Hi Everyone,

I have a word 2003 xml template. I use function SCMS_XSTRING_TO_BINARY to convert xml template to binary and then I change it. The function SCMS_BINARY_TO_XSTRING is used to back convertion.

But I have a one problem. I lose some space symbols in a final document when I convert it.

If I have the following text in my template <w:t>some text </w:t>. It will be <w:t>some text</w:t> in the final document. But I don't want to lose space symbols in the end of text.

I use encoding="UTF-8" in my template.

How to solve this problem? Any solution or suggestion are welcome?

Thanks in advance!

Best Regards,