nicolemcgrgr50 Posted December 26, 2008 Share Posted December 26, 2008 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 More sharing options...
Mchl Posted December 26, 2008 Share Posted December 26, 2008 Save it as UTF-8 without BOM. PHP6 is uspposed to have FULL UTF-8 support. Many PHP functions are already supporting it. Link to comment https://forums.phpfreaks.com/topic/138449-encoding-in-php-files/#findComment-723893 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.