TeamsStatus icon indicating copy to clipboard operation
TeamsStatus copied to clipboard

UTF8-Issue when reading Teams\log.txt

Open okrasa opened this issue 3 years ago • 0 comments

When reading the logs.txt to get the $TeamsStatus variable an error may occur when the OS uses a different language that includes umlauts, for example

Mit Jan 19 2022 19:33:51 GMT+0100 (Mitteleuropäische Normalzeit) <5284> -- info -- Setting the taskbar overlay icon - 
             Verfügbar 

Can be fixed by adding -Encoding Utf8 to the $TeamsStatus = Get-Content call.

okrasa avatar Jan 20 '22 09:01 okrasa