Diacritics in Powershell Dynamic Folder not working
D
Damien
started a topic
10 months ago
In dynamic folders, with Powershell, diacritics don't work on Windows.
How to reproduce :
1. Create a dynamic folder with Powershell
2. Add characters such as "éàùç"
3. Reload dynamic folder
Running the script outside RoyalTS from a *.ps1 file in Powerrshell 5.1, it doesn't seem to work if the file encoding is "UTF8", but displays correctly with "UTF8 with BOM".
Do you have a solution?
Thanks
1 Comment
D
Damien
said
3 months ago
Here's the solution:
The problem comes from Powershell Classic (version 5.1).
Using Powershell Core, I no longer have problems with accents.
We need to change the PowerShell interpreter script to put the path to the PowerShell Core (pwsh):
Damien
In dynamic folders, with Powershell, diacritics don't work on Windows.
How to reproduce :
1. Create a dynamic folder with Powershell
2. Add characters such as "éàùç"
3. Reload dynamic folder
Running the script outside RoyalTS from a *.ps1 file in Powerrshell 5.1, it doesn't seem to work if the file encoding is "UTF8", but displays correctly with "UTF8 with BOM".Do you have a solution?
Thanks