fallback on 'ascii' if guessed one is None.