Solved. Int nt/inc/stdint.h, there is this constant : #define UINT32_MAX 4294967296 which is obviously wrong and should be : #define UINT32_MAX 4294967295 Fabrice 2011/11/12 Fabrice Popineau > 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 > > -- Fabrice Popineau ----------------------------- SUPELEC Département Informatique 3, rue Joliot Curie 91192 Gif/Yvette Cedex Tel direct : +33 (0) 169851950 Standard : +33 (0) 169851212 ------------------------------