Fix encoding issue when data exceeds a single line of lore.