WINDOWS1251

English version ›› HatFramework ›› Class: Tester ›› Constants ››
Parent Previous Next

WINDOWS1251

Description: the constant indicates the encoding type for the file

Syntax: WINDOWS1251 = "WINDOWS-1251"


Example:

string text = await tester.FileReadAsync(Tester.WINDOWS1251, "C:\\Hat\\file.txt");

await tester.FileWriteAsync(text, Tester.WINDOWS1251, "C:\\Hat\\file_copy.txt");

Created with the Personal Edition of HelpNDoc: Free help authoring environment