I am trying to write a program using vb6.0 with sapi's speech recognition support. When I tried English everything came out alright. But when I swithed to Chinese, there's always this error when loading grammar and rules from an xml file. Why could it be? Anything to take special notice with when doing speech recognition with a language that is not English?
Thank you very much!

7 Years
Discussion Span
Last Post by punchinello

I can't speak for anything about the speech recognition portion but you should make sure that you're using the processing instruction on your XML documents that has a character set defined to include all the symbols or text from that foreign language. If it doesn't have your symbols or character, they may not parse correctly.

Using the encoding attribute on the processing instruction

<?xml version="1.0" encoding="UTF-8"?>
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.