[NTG-context] selecting encoding for Unicode