'Replace function not recognise é in fileName ionic angular
I use const regex = /é/gi; fileName = fileName.replace(regex,"%CC%81"); or fileName = fileName.split("é").join("%CC%81"); and it is work with string and not with fileName.
You can test with this : fileName "période" and normal string "période" in https://stackblitz.com/edit/ionic-angular-v5-2b3u7b
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
