Groups > Microsoft > Microsoft Speech Tech SDK > Re: Vista SR With German Umlauts




Vista SR With German Umlauts

Vista SR With German Umlauts
Sun, 23 Mar 2008 13:27:46 -070
Hi,

I'm writing a grammar with a langid=407 (German). I am getting an
error 80045003 (SPERR_UNSUPPORTED_FORMAT ) when I try and load it with
umlauts present, if I remove them it loads ok. I am using the German
recognizer for this on Vista. Is there anything specific in the way I
have to work with them to get it to load?

Thanks for your help,
Post Reply
Re: Vista SR With German Umlauts
Tue, 25 Mar 2008 08:29:16 -070
Hi Mike,

It sounds like you're running into an encoding issue and I'd guess that 
you're using an ANSI encoded file.  Try converting your grammar file to a 
UTF-8 or Unicode encoding and see if that resolves that problem.

One easy way to change the encoding is to:
    1. Load the grammar file in Notepad.exe
    2. Select "Save as" from the file menu
    3. Chose UTF-8 (or Unicode) from the Encoding dropdown list
    4. Click save

I recommend making a backup copy of your grammar first - just in case.

-- Steve Meyer

This posting is provided "AS IS" with no warranties, and confers no
rights.

<mike.hodgson.cbcnonline.com@googlemail.com> wrote in message 
news:ccef692d-838f-42ae-b146-2843320b6d3f@h11g2000prf.googlegroups.com...
> Hi,
>
> I'm writing a grammar with a langid=407 (German). I am getting an
> error 80045003 (SPERR_UNSUPPORTED_FORMAT ) when I try and load it with
> umlauts present, if I remove them it loads ok. I am using the German
> recognizer for this on Vista. Is there anything specific in the way I
> have to work with them to get it to load?
>
> Thanks for your help,
> Mike. 
Post Reply
Re: Vista SR With German Umlauts
Mon, 31 Mar 2008 07:24:14 -070
Thanks for this Steve.

Cheers,
Mike.


On 25 Mar, 16:29, "Steve Meyer [MSFT]"
<steve.me...@online.microsoft.com> wrote:
> Hi Mike,
>
> It sounds like you're running into an encoding issue and I'd guess that
> you're using an ANSI encoded file.  Try converting your grammar file to a
> UTF-8 or Unicode encoding and see if that resolves that problem.
>
> One easy way to change the encoding is to:
>     1. Load the grammar file in Notepad.exe
>     2. Select "Save as" from the file menu
>     3. Chose UTF-8 (or Unicode) from the Encoding dropdown list
>     4. Click save
>
> I recommend making a backup copy of your grammar first - just in case.
>
> -- Steve Meyer
>
> This posting is provided "AS IS" with no warranties, and confers
no rights.
>
> <mike.hodgson.cbcnonline....@googlemail.com> wrote in message
>
> news:ccef692d-838f-42ae-b146-2843320b6d3f@h11g2000prf.googlegroups.com...
>
> > Hi,
>
> > I'm writing a grammar with a langid=407 (German). I am getting an
> > error 80045003 (SPERR_UNSUPPORTED_FORMAT ) when I try and load it
with
> > umlauts present, if I remove them it loads ok. I am using the German
> > recognizer for this on Vista. Is there anything specific in the way I
> > have to work with them to get it to load?
>
> > Thanks for your help,
> > Mike.
Post Reply
about | contact