6
I’m getting a site buildable in charset ISO and when I step to UTF-8 the special characters appear on the screen with that diamond and a question mark, then in addition to switching from charset I need to exchange characters for ASCII codes.
Ex: á - á
é - é
...
How can I do this faster? Any PHP function?
an intermediate solution would be why at the beginning of PHP:
declare(encoding='ISO-8859-1');
while you tidy up.– Bacco
you have the sources already with the problem? A solution could also be mass replacement with a good code editor, but it is relatively dangerous. If you’re just converting to the screen, you can use Antonio’s solution. If you give more details on the question, it helps.
– Bacco
I’m putting some options, I’m not sure I fully understand what you need.
– Maniero
Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?
– Maniero