Hello,

When using File.CreateText() for creating a text file, the Unicode (UTF-8) is used. But I need to create a text file using another encoding (namely, Hebrew-Windows), because the created file is supposed to serve an input to another program which can't deal with Unicode. How can I set the desired encoding?