<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Koodaus on Michael’s Domain</title><link>https://jeltsch.org/fi/tags/koodaus/</link><description>Recent content in Koodaus on Michael’s Domain</description><generator>Hugo</generator><language>fi</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/fi/tags/koodaus/index.xml" rel="self" type="application/rss+xml"/><item><title>Miten tekstitiedoston koodaus määritetään ja muunnetaan (file, enca, iconv)</title><link>https://jeltsch.org/fi/how_to_determine_and_convert_text_file_encoding_file_enca_iconv/</link><pubDate>Wed, 22 Apr 2009 00:00:00 +0000</pubDate><guid>https://jeltsch.org/fi/how_to_determine_and_convert_text_file_encoding_file_enca_iconv/</guid><description>&lt;p&gt;Voit selvittää tiedoston ”sample.txt” tiedostotyypin kirjoittamalla seuraavasti: &lt;code&gt;file sample.txt&lt;/code&gt;. Yleensä ohjelma ilmoittaa vain, että kyseessä on tekstitiedosto. Jos haluat tietää enemmän koodauksesta: &lt;code&gt;enca -L none sample.text&lt;/code&gt;. -L-vaihtoehto kertoo ohjelmalle, mitä kieltä tiedostossa käytetään. Jos et tiedä, käytä vain none.Voit muuntaa koodauksen ISO-8859-1:stä (latin1) UTF-8:ksi seuraavasti: &lt;code&gt;iconv --from-code=ISO-8859-1 --to-code=UTF-8 sample_iso8859-1.txt &amp;gt; sample_utf-8.txt&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>