Index: Parser/tokenizer.c =================================================================== --- Parser/tokenizer.c (révision 66781) +++ Parser/tokenizer.c (copie de travail) @@ -274,8 +274,10 @@ tok->read_coding_spec = 1; if (tok->encoding == NULL) { assert(tok->decoding_state == STATE_RAW); - if (strcmp(cs, "utf-8") == 0 || - strcmp(cs, "iso-8859-1") == 0) { + if (strcmp(cs, "utf-8") == 0) { + tok->encoding = cs; + } else if (strcmp(cs, "iso-8859-1") == 0) { + tok->enc = cs; tok->encoding = cs; } else { r = set_readline(tok, cs);