Keyword density calculation not working when special character in focus keyword

When special characters are in focus keyword (ä,ö,ü etc.) it doesn't calculate the keyword density correctly (always 0%) ... this fixes the encoding error.