flutter_tts icon indicating copy to clipboard operation
flutter_tts copied to clipboard

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

Open nero-angela opened this issue 1 year ago • 0 comments

🐛 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:

  • [x] :iphone: iOS
  • [ ] :robot: Android

nero-angela avatar Jul 16 '24 07:07 nero-angela