Closed or552244 closed 3 years ago
Try using an external editor like Notepad++ to write your content and make sure to save it as UTF-8. The content all needs to be UTF-8 encoded. There's not much else we can do about this error and it looks like you're using the Windows build which we're no longer updating.
thank you for the quick answer. I tried to convert it before with notepad++ but now it works for some reason. and I'll use my Kali Linux as the client.
Issue Description
I experience an issue when I try to write an email with Hebrew in it.
Reproduction Steps
Environment Details
Host OS: 4.4.0-1127-aws #141-Ubuntu SMP Tue Apr 13 14:07:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux (server) Windows 10 pro build 19042 (client) King Phisher Version:1.15.0
Error Details / Stack Trace
Error Type: builtins.UnicodeEncodeError Error Details: UnicodeEncodeError('charmap', '\r\n
\r\n\r\n\r\nבדיקה
\r\n\r\n', 37, 42, 'character maps toThread Information:
=> MainThread (alive=True daemon=False) RPCAsyncWorker (alive=True daemon=False)
Stack Trace:
Traceback (most recent call last): File "C:\Program Files (x86)\Jenkins\workspace\king-phisher-master\king_phisher\client\tabs\mail.py", line 1270, in signal_notebook_switch_page File "C:\Program Files (x86)\Jenkins\workspace\king-phisher-master\king_phisher\client\tabs\mail.py", line 688, in save_html_file File "C:\Python34\lib\encodings\cp1252.py", line 19, in encode UnicodeEncodeError: 'charmap' codec can't encode characters in position 37-41: character maps to