Electrodialysis of hydriodic acid in the presence of iodine