<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ejudge.ru/wiki/index.php?action=history&amp;feed=atom&amp;title=Libchecker%3Achecker_CHARSET_to_ucs4_buf</id>
	<title>Libchecker:checker CHARSET to ucs4 buf - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ejudge.ru/wiki/index.php?action=history&amp;feed=atom&amp;title=Libchecker%3Achecker_CHARSET_to_ucs4_buf"/>
	<link rel="alternate" type="text/html" href="https://www.ejudge.ru/wiki/index.php?title=Libchecker:checker_CHARSET_to_ucs4_buf&amp;action=history"/>
	<updated>2026-04-21T08:16:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.ejudge.ru/wiki/index.php?title=Libchecker:checker_CHARSET_to_ucs4_buf&amp;diff=2289&amp;oldid=prev</id>
		<title>Cher at 12:03, 26 August 2008</title>
		<link rel="alternate" type="text/html" href="https://www.ejudge.ru/wiki/index.php?title=Libchecker:checker_CHARSET_to_ucs4_buf&amp;diff=2289&amp;oldid=prev"/>
		<updated>2008-08-26T12:03:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:03, 26 August 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Навигация: [[Main Page|Главная страница]]/[[Система ejudge]]/[[Проверяющие программы]]/[[libchecker]]/[[Libchecker:Функции|Функции]]/[[Libchecker:Перекодирование текстовых данных|Перекодирование текстовых данных]]/[[Libchecker:checker CHARSET to ucs4 buf|Перекодирование буфера в кодировку &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;UCS4&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Навигация: [[Main Page|Главная страница]]/[[Система ejudge]]/[[Проверяющие программы]]/[[libchecker]]/[[Libchecker:Функции|Функции]]/[[Libchecker:Перекодирование текстовых данных|Перекодирование текстовых данных]]/[[Libchecker:checker CHARSET to ucs4 buf|Перекодирование буфера в кодировку &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;UCS-4&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Данные функции позволяют перекодировать символьный буфер из одной из поддерживаемых однобайтных кириллических кодировок в кодировку &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;UCS4&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Данные функции позволяют перекодировать символьный буфер из одной из поддерживаемых однобайтных кириллических кодировок в кодировку &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;UCS-4&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; int checker_koi8r_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; int checker_koi8r_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cher</name></author>
		
	</entry>
	<entry>
		<id>https://www.ejudge.ru/wiki/index.php?title=Libchecker:checker_CHARSET_to_ucs4_buf&amp;diff=2285&amp;oldid=prev</id>
		<title>Cher: New page: Навигация: Главная страница/Система ejudge/Проверяющие программы/libchecker/[[Libchecker:Функции|Фун...</title>
		<link rel="alternate" type="text/html" href="https://www.ejudge.ru/wiki/index.php?title=Libchecker:checker_CHARSET_to_ucs4_buf&amp;diff=2285&amp;oldid=prev"/>
		<updated>2008-08-26T07:35:05Z</updated>

		<summary type="html">&lt;p&gt;New page: Навигация: &lt;a href=&quot;/wiki/index.php/Main_Page&quot; title=&quot;Main Page&quot;&gt;Главная страница&lt;/a&gt;/&lt;a href=&quot;/wiki/index.php/%D0%A1%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_ejudge&quot; title=&quot;Система ejudge&quot;&gt;Система ejudge&lt;/a&gt;/&lt;a href=&quot;/wiki/index.php/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D1%8F%D1%8E%D1%89%D0%B8%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D1%8B&quot; title=&quot;Проверяющие программы&quot;&gt;Проверяющие программы&lt;/a&gt;/&lt;a href=&quot;/wiki/index.php/Libchecker&quot; title=&quot;Libchecker&quot;&gt;libchecker&lt;/a&gt;/[[Libchecker:Функции|Фун...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Навигация: [[Main Page|Главная страница]]/[[Система ejudge]]/[[Проверяющие программы]]/[[libchecker]]/[[Libchecker:Функции|Функции]]/[[Libchecker:Перекодирование текстовых данных|Перекодирование текстовых данных]]/[[Libchecker:checker CHARSET to ucs4 buf|Перекодирование буфера в кодировку UCS4]]&lt;br /&gt;
&lt;br /&gt;
Данные функции позволяют перекодировать символьный буфер из одной из поддерживаемых однобайтных кириллических кодировок в кодировку UCS4.&lt;br /&gt;
&lt;br /&gt;
 int checker_koi8r_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;br /&gt;
 int checker_cp866_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;br /&gt;
 int checker_cp1251_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;br /&gt;
 int checker_iso_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;br /&gt;
 int checker_mac_to_ucs4_buf(int *out_buf, const char *in_buf, size_t in_size);&lt;br /&gt;
&lt;br /&gt;
Данные функции перекодируют символьный буфер, расположенный по адресу &amp;lt;tt&amp;gt;in_buf&amp;lt;/tt&amp;gt; и содержащий &amp;lt;tt&amp;gt;in_size&amp;lt;/tt&amp;gt; байт, в выходной буфер, расположенный по адресу &amp;lt;tt&amp;gt;out_buf&amp;lt;/tt&amp;gt;. Буфер &amp;lt;tt&amp;gt;out_buf&amp;lt;/tt&amp;gt; должен иметь достаточный размер, чтобы разместить все символы входного буфера. Другими словами, размер буфера &amp;lt;tt&amp;gt;out_buf&amp;lt;/tt&amp;gt; должен быть как минимум &amp;lt;tt&amp;gt;in_size&amp;lt;/tt&amp;gt;. Ни параметр &amp;lt;tt&amp;gt;in_buf&amp;lt;/tt&amp;gt;, ни параметр &amp;lt;tt&amp;gt;out_buf&amp;lt;/tt&amp;gt; не могут быть равны &amp;lt;tt&amp;gt;NULL&amp;lt;/tt&amp;gt;. Нулевой байт во входном буфере перекодируется в нулевое значение в выходном буфере.&lt;br /&gt;
&lt;br /&gt;
Функция возвращает количество перекодированных символов, то есть &amp;lt;tt&amp;gt;in_size&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Cher</name></author>
		
	</entry>
</feed>