Hi kong qiang
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
When synthesizing SSML, the character count can vary based on the inclusion of special characters and XML tags. For instance, the character < must be represented as < in SSML for proper parsing. Adding XML tags or special characters that need escaping will increase the total character count. Therefore, the backend may count raw characters differently than the processed SSML due to these conversions, leading to discrepancies in the character count.
Kindly refer below link: special-characters
Thank You.