String fields store trailing whitespaces if users enter them. This rarely serves a purpose and might even mess with formatting (name or style) in downstream systems. Field history already displays the values trimmed.
I would be nice with a sever setting for just cleaning trailing whitespaces in string fields (and locale?). One setting per string field could work too but would be obnoxious and unclear behavior for editors if it not the same on all fields. The same goes for solving this with regex validation.
One could solve this with a listener or server extensions but either that might be too late for downstream systems or have an unnecessarily big impact on performance, respectively.
Could also nicely fit with my https://customercommunity.ideas.aha.io/ideas/INSE-I-227