vysheng / tg

telegram-cli
GNU General Public License v2.0
6.49k stars 1.54k forks source link

Sending photo via compiled exe (through cmd.exe) #1735

Open ViktorKravtsov opened 2 years ago

ViktorKravtsov commented 2 years ago

Using command

resolve_username my_friend
send_file @my_friend "e:\\VSM\\1.jpg"
send_file @my_friend "e:\VSM\1.jpg"

returns an error FAIL: 9: Can not open file: Invalid or incomplete multibyte or wide character Any possibility to fix this?

Upd: Through cygwin everything is ok. But this option does not suit me! I need it through cmd.exe

Paulchen232 commented 2 years ago

try to use the argument -W and not resolve_username.

ViktorKravtsov commented 2 years ago

try to use the argument -W and not resolve_username.

does not helped even calling dialog_list after it also returns FAIL: 9: Can not open file: Invalid or incomplete multibyte or wide character