unicode fix submitted by Alte <010@imis.ru>