My code was working well with special chars. I could use Write-Host "é" without any issue.
Write-Host "é"
And then I moved some of my functions to an other PS