Menu

#125 Mispronounced letters in polish in command line mode.

v1.0 (example)
open
nobody
5
2015-05-05
2015-04-28
No

Hello everyone.
I'm using espeak 1.48.08.
I want to use espeak in command line mode, so i use the espeak.exe from command_line folder.
Unfortunatelly when i use polish language (for example: espeak.exe -vpl "Dążyć")
letter "ą" is misspronounced and letter "ż" is "muted". On other hand when i use Windows application (TTSApp) every letter is spoken perfectly.
What can I do with this problem
Best Regards
Pawel.

Discussion

  • Jonathan Duddington

    The problem is not the eSpeak command-line program, but the character
    set that Windows is using for the command window.

    eSpeak usually expects input as UTF-8 characters. If you are using ISO
    8859-2 character set (for Polish and other east European languages),
    use the -b2 option eg:

    espeak -b2 -f textfile.txt

    The -b2 option selects the ISO 8859 character set which is appropriate
    for the language.

    If you are using some other character set, such as Microsoft codepage
    1250 (Windows-1250) then eSpeak won't recognize the non-ascii
    characters correctly.

    Even if the -b2 option is not given, if eSpeak detects an invalid UTF-8
    character it will switch to the ISO 8859 character set.

     
  • PawelSienkiewicz

    Great that helps a lot. Thank you very much!

     

Log in to post a comment.

MongoDB Logo MongoDB