I’d like to know what’s is more correct in PHP using UTF-8 encode.
For example the “copyright symbol”, should I use in the code:
©
Or should I use directly:
©
What’s the more recommended?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on the encoding of your PHP source files. If they are encoded in UTF-8 you will not have any problem with
©, If your source files are in ASCII encoding you must use©