<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Считывание русских символов с .ini файла]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=17540</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17540&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Считывание русских символов с .ini файла».]]></description>
		<lastBuildDate>Sat, 07 Jan 2023 16:52:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Считывание русских символов с .ini файла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156214#p156214</link>
			<description><![CDATA[<p>Чтобы не выкидывало ошибку и нормально отображалась кириллица, преобразуйте кодировку .ini файла в &quot;UTF-16 LE с BOM&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (Taveron)]]></author>
			<pubDate>Sat, 07 Jan 2023 16:52:14 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156214#p156214</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Считывание русских символов с .ini файла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156212#p156212</link>
			<description><![CDATA[<p><strong>__Михаил__</strong>, спасибо! Видимо кириллицу нужно записывать строго через код, чтобы она корректно отображалась, т.к. я писал .ini файл руками.</p>]]></description>
			<author><![CDATA[null@example.com (Madmer)]]></author>
			<pubDate>Sat, 07 Jan 2023 16:10:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156212#p156212</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Считывание русских символов с .ini файла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156211#p156211</link>
			<description><![CDATA[<p>Создал новый скрипт, записал следующее:</p><div class="codebox"><pre><code>F2::
IniRead, message, conf.ini, settings, message
Send, %message%
Sleep 50
Send, {Enter}
Return

F3::
message=&quot;Сообщение&quot;
IniWrite, % message, conf.ini, settings, message
Return</code></pre></div><p>Всё работает.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 07 Jan 2023 15:55:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156211#p156211</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Считывание русских символов с .ini файла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156209#p156209</link>
			<description><![CDATA[<p>Всем привет, понадобилось считать русский текст с переменной в .ini файле. Однако при выводе данных выдаёт иероглифы, вместо нужного текста. Пробовал менять кодировку через notepad++, однако это приводит либо также к иероглифам, либо вообще к ERROR.<br />Код conf.ini:<br /></p><div class="codebox"><pre><code>
[settings]
message=&quot;Сообщение&quot;
</code></pre></div><p>Часть кода главного .ahk файла:<br /></p><div class="codebox"><pre><code>
IniRead, message, conf.ini, settings, message

...

Send, %message%
Sleep 50
Send, {Enter}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Madmer)]]></author>
			<pubDate>Sat, 07 Jan 2023 14:37:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156209#p156209</guid>
		</item>
	</channel>
</rss>
