random1 Posted June 14, 2008 Share Posted June 14, 2008 How do you detect if a browser supports utf-8 using PHP? Link to comment https://forums.phpfreaks.com/topic/110183-detect-if-browser-supports-utf-8-using-php/ Share on other sites More sharing options...
corbin Posted June 14, 2008 Share Posted June 14, 2008 What [recent] browser doesn't support UTF-8? No, there's no way (that I know of) with PHP, since encoding (as in displaying client side) is handled client side. You might want to make sure to send either headers or put a meta tag, so that the client doesn't have to guess that it's UTF-8. Link to comment https://forums.phpfreaks.com/topic/110183-detect-if-browser-supports-utf-8-using-php/#findComment-565435 Share on other sites More sharing options...
random1 Posted June 14, 2008 Author Share Posted June 14, 2008 Thanks I thought that there would be some mobile browsers and other devices that don't support utf-8. Link to comment https://forums.phpfreaks.com/topic/110183-detect-if-browser-supports-utf-8-using-php/#findComment-565438 Share on other sites More sharing options...
corbin Posted June 14, 2008 Share Posted June 14, 2008 Hrmmm.... I actually don't know if phones and what not support UTF-8 to be honest. Surely this day in age they do, but nothing surprises me any more.... Link to comment https://forums.phpfreaks.com/topic/110183-detect-if-browser-supports-utf-8-using-php/#findComment-565441 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.