Refactor length-value editor to use common save #361

Now all three character-value editor pages use the same save() routine
and format their data the same way.