[fix] Fix double utf-8 decoding of shortcuts (#2125, #2189)