or null if it is ascii-safe.
Charset.best
string best(string inbuf)Computes the best charset to use to encode this text buffer.
Parameters
inbuf | a UTF-8 text buffer |
Returns
the charset name best suited for the input text
string best(string inbuf)Computes the best charset to use to encode this text buffer.
inbuf | a UTF-8 text buffer |
or null if it is ascii-safe.