Fix for [liquid] Make "truncatewords" and "truncate" work for non-English characters (#166)

fixes [liquid] Make "truncatewords" and "truncate" work for non-English characters (#166)
I have this running in production and all is working ok