Check to see if the UTF-8 text will fit safely within charset.
a charset
utf-8 text to check
true if it is safe to encode text into charset or false otherwise.
Check to see if the UTF-8 text will fit safely within charset.