Bugfix trim_characters to not put " " in the middle of a UTF-8 multibyte.
Bugfix trim_characters to not put " " in the middle of a UTF-8 multibyte.

MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg