Better trim method
Added charset
New build
More tests