Assume char strings from DB are in encoded as flags[CHARACTER_SET] and cvt to utf8 if necessary.
Authored by: dwarren 2019-02-26
Parent: [r9567]
Child: [r9569]