dlutton / flutter_tts

Flutter Text to Speech package
MIT License
617 stars 258 forks source link

If starting with "~" in Korean on iOS, it won't read the sentence to the end. #513

Open nero-angela opened 4 months ago

nero-angela commented 4 months ago

🐛 Bug Report

If starting with "~" in Korean on iOS, it won't read the sentence to the end.

Expected behavior

Should read the sentence to the end.

Reproduction steps

Run the below code.

final tts = FlutterTts();

/// There is no problem in English, and I have confirmed that it only occurs in Korean.
await tts.setLanguage('ko');

/// If it starting with "~", it doesn't read the last abc.
await tts.speak("~abc, abc, abc");
await Future.delayed(const Duration(seconds: 2));

/// If it does not start with "~", everything is read.
await tts.speak("abc, abc, abc");

Configuration

Version: 4.0.2 Platform: