-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
A Clear and Concise Description of the Bug
sendwhatmsg_to_group_instantly incorrectly works with non ascii-symbols
To Reproduce
Steps to Reproduce the Bug
import pywhatkit
if name == 'main':
phone = '+380953xxxxx'
message = "Hello, ¡hola!,\n こんにちは, Hyvää päivää? "# "меренгетека \n бачатека "
pywhatkit.sendwhatmsg_instantly(phone, message, tab_close=True)
pywhatkit.sendwhatmsg_to_group_instantly("Kho3QNCldFnGq0Az4i5dHV", message, tab_close=True)
results:
in private message:
Hello, ¡hola!,
こんにちは, Hyvää päivää?
in group:
Hello, hola!,
, Hyv piv?
If applicable, add Screenshots to help explain your Problem
Version Information
- OS: Ubuntu Linux 24.04
- Browser: Google Chrome
- Python: 3.12
- PyWhatKit: 5.2
You can Check the PyWhatKit Version using
print(pywhatkit.__VERSION__)Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working