<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=16986</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16986&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Сохранить unicode символы в ANSI версии AHK».]]></description>
		<lastBuildDate>Sat, 19 Feb 2022 17:34:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152348#p152348</link>
			<description><![CDATA[<p>Решил пойти все же путем запуска скрипта в unicode версии.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 17:34:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152348#p152348</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152347#p152347</link>
			<description><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Наверно никак</p></blockquote></div><p>Не, ну, конечно, если сильно заморочиться, можно что-то придумать, вопрос, какими усилиями. Например, отправить такую строку в виде hex в HTMLFILE объект, там преобразовать в строку, сделать необходимые манипуляции, и получить обратно в виде hex.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 17:18:51 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152347#p152347</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152343#p152343</link>
			<description><![CDATA[<p>Наверно никак. С текстом в кодировке UTF-8 в ANSI-версии AHK можно манипулировать только в бинарном виде.<br />Собственно, проблема даже не в UTF-8, а в том, что некоторые символы в этой кодировке имеют двухбайтный размер, чего ANSI-версия не поддерживает.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 16:13:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152343#p152343</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152342#p152342</link>
			<description><![CDATA[<p>Если я получаю JSON строку и мне нужно сделать манипуляции с этими данными и потом сохранить, как не потерять данные в таком случае?</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:53:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152342#p152342</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152341#p152341</link>
			<description><![CDATA[<p>Так ANSI версия не поддерживает строки в UTF-8 в виде текста. При получении с сайта не сохраняйте, как текст, а сохраняйте, как бинарные данные. Их же и сохраняйте в файл с помощью RawWrite(), только префикс UTF-8 не забудьте вставить.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:32:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152341#p152341</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152340#p152340</link>
			<description><![CDATA[<p>Допустим данный код:<br /></p><div class="codebox"><pre><code>FileAppend, % &quot;Ø230 × 25,4мм&quot;, % &quot;test.xml&quot;, UTF-8</code></pre></div><p>Сохраняет как:<br /></p><div class="codebox"><pre><code>?230 ? 25,4мм</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:25:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152340#p152340</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152339#p152339</link>
			<description><![CDATA[<div class="quotebox"><cite>Phoenixxx_Czar пишет:</cite><blockquote><p>И что же делать, если не помогает?</p></blockquote></div><p>Не знаю, я же ваш код не вижу.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:19:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152339#p152339</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152338#p152338</link>
			<description><![CDATA[<p>Точнее, именно UTF-8, поскольку данные с сайта вероятнее всего в этой кодировке.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:18:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152338#p152338</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152337#p152337</link>
			<description><![CDATA[<p>И что же делать, если не помогает?</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:18:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152337#p152337</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152336#p152336</link>
			<description><![CDATA[<p>Помогает.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:13:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152336#p152336</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152335#p152335</link>
			<description><![CDATA[<p><strong>teadrinker</strong>, не помогает.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:13:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152335#p152335</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152334#p152334</link>
			<description><![CDATA[<p>Да.. Но в какой? Я перепробовал разные функции и не одна из них не сохранило данные символы, а все русские вообще превратились в непонятные.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:11:40 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152334#p152334</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152333#p152333</link>
			<description><![CDATA[<p>При сохранении используйте UTF-8 или UTF-16.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:10:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152333#p152333</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152332#p152332</link>
			<description><![CDATA[<p>Конвертировать в другой кодировке и хранить так?</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:09:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152332#p152332</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Сохранить unicode символы в ANSI версии AHK]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=152331#p152331</link>
			<description><![CDATA[<p>У меня есть строка: &quot;Ø230 × 25,4мм&quot;, ее я получаю с сайта, при сохранении в файл вместо &quot;Ø&quot; и &quot;×&quot; стоят вопросики, как можно не потерять данные символы?</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 19 Feb 2022 15:07:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=152331#p152331</guid>
		</item>
	</channel>
</rss>
