Hello!
When I try to send a file with cyrillic characters in name to telegram
$botToken = "xxxx"
$chat = "xxxx"
$file = "C:\абв г.txt"
$sendTelegramLocalDocumentSplat = @{
BotToken = $botToken
ChatID = $chat
File = $file
Caption = "Check out this file"
ParseMode = 'MarkdownV2'
DisableNotification = $true
Verbose = $true
}
Send-TelegramLocalDocument @sendTelegramLocalDocumentSplat
I get the file with this name
= utf-8 B 0LDQsdCyINCzLnR4dA== =
There are no such problems with names in English or numbers.
Hello!
When I try to send a file with cyrillic characters in name to telegram
I get the file with this name
= utf-8 B 0LDQsdCyINCzLnR4dA== =There are no such problems with names in English or numbers.