Line wrapping with support for several locale setups