More encoding debugging