fix bug 4376, 'Litehtml breaks locale'