0

I opened php files formerly developed on notepad++ with vscode and the special characters and with accents are not displayed with a �, how can I solve this problem. I am using UTF-8 encoding.

need help.

I have set "Files: Auto Guess Encoding" to yes but nothing change

  • that happens when you change from one characterset to another such as from ISO to UTF. By default VSC uses UTF-8. You need to change back to the original format or convert it. – tacoshy Feb 01 '23 at 13:06
  • Ok, how can i convert it ? – Ulrich Die Feb 01 '23 at 13:31
  • You need a file that isn't broken yet or you need to manually replace every broken character. If you have a non-broken file: https://www.w3.org/International/questions/qa-changing-encoding – tacoshy Feb 01 '23 at 13:42
  • See "black diamond" in https://stackoverflow.com/questions/38363566/trouble-with-utf8-characters-what-i-see-is-not-what-i-stored Do you have the hex of some naughty text in the file? The character causing the black diamond is not recoverable. – Rick James Feb 01 '23 at 20:20

0 Answers0