<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Перекодировние файлов папки]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8547&amp;type=atom" />
	<updated>2010-11-21T17:11:25Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=8547</id>
		<entry>
			<title type="html"><![CDATA[Re: Перекодировние файлов папки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115071#p115071" />
			<content type="html"><![CDATA[<p>А мне нравиться утилита enconv из пакета enca, так ей все равно на первоначальную кодировку<br /></p><div class="codebox"><pre><code>enconv -x utf8 file</code></pre></div>]]></content>
			<author>
				<name><![CDATA[zorro]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13075</uri>
			</author>
			<updated>2010-11-21T17:11:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115071#p115071</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Перекодировние файлов папки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115064#p115064" />
			<content type="html"><![CDATA[<p><strong>gramozeka</strong>,&nbsp; спасибо, работает <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[pistol]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1876</uri>
			</author>
			<updated>2010-11-21T16:23:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115064#p115064</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Перекодировние файлов папки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115062#p115062" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>iconv -f WINDOWS-1251 -t UTF-8 FILE_NAME &gt; NEW_FILE_NAME</code></pre></div><p>в виде скрипта ;<br /></p><div class="codebox"><pre><code>#!/bin/bash

FILES=&quot;./*.php&quot;
for i in $FILES
do
echo &quot;Converting file $i to UTF-8 encoding...&quot;
mv $i $i.icv
iconv -f WINDOWS-1251 -t UTF-8 $i.icv &gt; $i
rm -f $i.icv
done</code></pre></div><p><a href="http://www.64soft.net/2009/06/10/konvertaciya-soderzhimogo-fajlov-iz-windows1251-v.html">взято здесь</a></p><p>только для начала проверьте на отдельно взятом образце , т.к. возможны траблы с русскими именами файлов</p><p><a href="http://forum.ubuntu.ru/index.php?topic=80886.0">вот обсуждение</a></p>]]></content>
			<author>
				<name><![CDATA[gramozeka]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6831</uri>
			</author>
			<updated>2010-11-21T16:19:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115062#p115062</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Перекодировние файлов папки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115060#p115060" />
			<content type="html"><![CDATA[<p>Нужно перекодировать все файлы папки из windows-1251 в utf-8. Не названия, а само содержание файлов (это сайт, набор PHP и HTML файлов). В винде отлично перекодировалось с дримвивером, а в линуксе?</p>]]></content>
			<author>
				<name><![CDATA[pistol]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1876</uri>
			</author>
			<updated>2010-11-21T16:12:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115060#p115060</id>
		</entry>
</feed>
