Jump to content

Encoding in PHP files


nicolemcgrgr50

Recommended Posts

I keep getting spam from someone that types in Russian. So i was going to mark any comments I get SPAM that have the following characters

 

лийпэя

 

However, I was wondering, do I have to save the PHP file as UTF-8? Because right now notepad++ saves them as ANSI and so if I paste in those characters it just shows question marks.

 

Also will it work if saved in UTF-8, because I thought only PHP6 supports unicode.

Link to comment
https://forums.phpfreaks.com/topic/138449-encoding-in-php-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.