Send the correct encoding for UIs