Better lore parsing to support Unicode