Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
If there are no character values >127, then the encoding step is a no-op, so skipping it buys you nothing except making your code harder to read.
I see. I should have guessed that string_to_utf8() is already smart enough. Thanks for the pointer.