MyTetra Share
Делитесь знаниями!
Кодировка
Время создания: 14.04.2017 09:02
Текстовые метки: code
Раздел: AutoHotkey - Файлы
Запись: xintrea/mytetra_db_mcold/master/base/1492149767fpudwzsd6g/text.html на raw.githubusercontent.com

Для чтение кириллицы в начале файла пишем:


FileEncoding, UTF-8 ; задаем кодировку для чтения из файла



FileEncoding [, Encoding]

Select

Encoding can be one of the following values:

  • UTF-8: Unicode UTF-8, equivalent to CP65001.
  • UTF-16: Unicode UTF-16 with little endian byte order, equivalent to CP1200.
  • UTF-8-RAW or UTF-16-RAW: As above, but no byte order mark is written when a new file is created.
  • CPnnn: a code page with numeric identifier nnn. See Code Page Identifiers.
  • Empty or omitted: the system default ANSI code page, which is also the default setting.

Remarks

A_FileEncoding contains the current setting.

 
MyTetra Share v.0.59
Яндекс индекс цитирования