This function encodes a string to UTF-8 encoding. It returns the encoded string, or false if the input string is already UTF-8 or cannot be encoded to UTF-8. UTF-8 is commonly used on the web as it can represent Unicode characters.Read less