Yi-Rope part of encoding fix.