Small fix for sys.encoding globals