Added checking if array offset is set before asigning value to word property
Added utf8_decode before asigning value to word property <- why did i have to do that? it doesnt make any sense...