To reproduce make sure your wiki is up to date, load jquery.byteLimit, create an input with a limit of 6 bytes and do the following steps.
- Enter "äöü", move the cursor to the start.
- Type "ß"
Expected result: Nothing, "äöü" are 6 bytes.
Actual result: Text changes to "ßäö".
Possible solution: Always update the last value, not only if it has been trimmed.