Fixes non-Japanese characters spacing

Fixes issue #2596.