Mnemonics variable trim length and unit test (fails for Japanese :/)