Hello, we recently implemented a word count feature in the RadRichTextBox by using the GetStatisticsInfo method of the RadDocument class. We noticed word counts are not accurate and determined that the document contained some non-breaking spaces (0xA0) instead of normal spaces (0x20), and when these non-breaking spaces were positioned in span text separately like this: <t:Paragraph> <t:Span Text=" " /> </t:Paragraph>, then the word count included this as a word.
Since we can't control the document content that is imported, we could work around this issue by replacing the non-breaking spaces with normal spaces before getting a word count, but I am not sure of the best approach for doing so. Please let me know a solution for the replacement, or if this is something you will be fixing at some point.
Thanks,
Bob