The trick is that the string gets formatted this way : s = [?\C-00], c= 43, index = 4, index_byte = 4 which is definitely wrong. It is format that is failing on this, not read. Fabrice