random1 Posted November 22, 2008 Share Posted November 22, 2008 Hey All, How can you check a string for the chracter set it uses? (i.e. utf8 etc) I am wanting to check a user entered string and check that it is utf8 and does not contain any invalid characters that are not utf8. Link to comment https://forums.phpfreaks.com/topic/133838-determining-text-character-set/ Share on other sites More sharing options...
samona Posted November 23, 2008 Share Posted November 23, 2008 You could use regex. Link to comment https://forums.phpfreaks.com/topic/133838-determining-text-character-set/#findComment-696622 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.