catch 1.8 cases where strings don't have encodings