On 09/21/2011 07:04 PM, Eli Zaretskii wrote: > Why let it guess? You can do it with 100% certainty in this case, > because the encoding of strings provided by the OS is known -- it's > held in Vlocale_coding_system. See system_process_attributes for an > example of how to do this. I've looked through Ffile_attributes() and have made the same thing. Dmitry