I just saved a custom php plugin file in UTF-8 format and the style of my site was modified to some extent and the site didnt display correctly.
Viewing source code there is nothing strange but if I copy the source code and paste it in Notepad++ I get a question mark “?” at the beginning of the code.
If I save it like ANSI or UTF-8 without DOM it works correctly. Do you know what is the reason??
I use to write non-english characters such as á, é, í, etc and would like to use it.
Is there any problem using UTF-8 without DOM instead?
Thanks and regards
- The topic ‘Problem when saving plugin php file in UTF-8’ is closed to new replies.