<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Handling encodings (UTF-8)</title>
	<atom:link href="http://blog.macromates.com/2005/handling-encodings-utf-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.macromates.com/2005/handling-encodings-utf-8/</link>
	<description>TextMate and OS X</description>
	<lastBuildDate>Wed, 03 Feb 2010 16:53:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: David Price</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-4281</link>
		<dc:creator>David Price</dc:creator>
		<pubDate>Thu, 08 Oct 2009 07:09:39 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-4281</guid>
		<description>&lt;p&gt;Good luck with Release 2.0 and its support for alternative character sets.&lt;/p&gt;

&lt;p&gt;Like other would-be users, support by the convert-to-UTF-8-on-open and convert-back-on-save method seems easy enough to me.  Can I suggest that you allow user-written plugins for this purpose?  People can contribute their plugins and the responsibility for understanding hundreds of character sets and thousands of minor variations will no longer be yours!&lt;/p&gt;

&lt;p&gt;My own interest is EBCDIC, the oldest living character set whose usage continues to grow.  Used on mainframes and on certain IBM midrange computers, it is a (family of) 8-bit character set(s) that (as your very first comment above noted) is older than ASCII.&lt;/p&gt;

&lt;p&gt;Support for simple (user-extendable) conversion and convert-back (for any character set) would get you a lot of extra customers, and would bring you up to the level of your competition.&lt;/p&gt;

&lt;p&gt;If you really wanted to support multilingual multi-platform users, and be the ultimate editor, then please add support in such a way that the characters are displayed correctly but still have their native hex bit-patterns available as well.  That would enable reading dumps, and other files with mixed text and binary fields, on a Mac using TextMate.  But I guess if you consider simple builtin conversion to be difficult, then support for data with mixed non-native text and binary must seem impossible.&lt;/p&gt;

&lt;p&gt;Best of luck with the best UTF-8-specific Mac editor around!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good luck with Release 2.0 and its support for alternative character sets.</p>

<p>Like other would-be users, support by the convert-to-UTF-8-on-open and convert-back-on-save method seems easy enough to me.  Can I suggest that you allow user-written plugins for this purpose?  People can contribute their plugins and the responsibility for understanding hundreds of character sets and thousands of minor variations will no longer be yours!</p>

<p>My own interest is EBCDIC, the oldest living character set whose usage continues to grow.  Used on mainframes and on certain IBM midrange computers, it is a (family of) 8-bit character set(s) that (as your very first comment above noted) is older than ASCII.</p>

<p>Support for simple (user-extendable) conversion and convert-back (for any character set) would get you a lot of extra customers, and would bring you up to the level of your competition.</p>

<p>If you really wanted to support multilingual multi-platform users, and be the ultimate editor, then please add support in such a way that the characters are displayed correctly but still have their native hex bit-patterns available as well.  That would enable reading dumps, and other files with mixed text and binary fields, on a Mac using TextMate.  But I guess if you consider simple builtin conversion to be difficult, then support for data with mixed non-native text and binary must seem impossible.</p>

<p>Best of luck with the best UTF-8-specific Mac editor around!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Gavrilov</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-4159</link>
		<dc:creator>Anton Gavrilov</dc:creator>
		<pubDate>Sun, 26 Jul 2009 08:52:46 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-4159</guid>
		<description>&lt;p&gt;Now I like that response!  I will certainly be looking forward to 2.0.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Now I like that response!  I will certainly be looking forward to 2.0.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Odgaard</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-4158</link>
		<dc:creator>Allan Odgaard</dc:creator>
		<pubDate>Sat, 25 Jul 2009 16:47:11 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-4158</guid>
		<description>&lt;p&gt;Anton: I wrote my own encoding stuff which does frequency analysis to estimate which legacy encoding was used, code which I have been wanting to retire rather than extend, so no, this can’t be done w/o writing code.&lt;/p&gt;

&lt;p&gt;Glad to hear you got your encoding needs solved by TextWrangler. Hopefully you’ll give TextMate a second chance when we release 2.0.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Anton: I wrote my own encoding stuff which does frequency analysis to estimate which legacy encoding was used, code which I have been wanting to retire rather than extend, so no, this can’t be done w/o writing code.</p>

<p>Glad to hear you got your encoding needs solved by TextWrangler. Hopefully you’ll give TextMate a second chance when we release 2.0.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Gavrilov</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-4157</link>
		<dc:creator>Anton Gavrilov</dc:creator>
		<pubDate>Sat, 25 Jul 2009 16:09:30 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-4157</guid>
		<description>&lt;p&gt;It&#039;s one thing when you&#039;re not implementing something because it&#039;s hard and/or you haven&#039;t gotten around to it yet, and it&#039;s another thing to refuse to add easy features (possibly not requiring any code at all) because you believe you know better what the users need.&lt;/p&gt;

&lt;p&gt;For all my love of UTF-8, the corporate website I&#039;m responsible for will stay in Windows-1251 for the foreseeable future to ensure it can be readily edited in any of the windows tools we might want to use.  Luckily it seems I&#039;ll be able to edit pages on my mac as well should I feel like it, now that I discovered TextWrangler which automates charset detection and saving back to the original format without me having to do as much as a mouse click, let alone typing console commands!&lt;/p&gt;

&lt;p&gt;And I guess it&#039;ll be easier to use TextWrangler for my personal projects as well, which are of course in UTF-8.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#039;s one thing when you&#039;re not implementing something because it&#039;s hard and/or you haven&#039;t gotten around to it yet, and it&#039;s another thing to refuse to add easy features (possibly not requiring any code at all) because you believe you know better what the users need.</p>

<p>For all my love of UTF-8, the corporate website I&#039;m responsible for will stay in Windows-1251 for the foreseeable future to ensure it can be readily edited in any of the windows tools we might want to use.  Luckily it seems I&#039;ll be able to edit pages on my mac as well should I feel like it, now that I discovered TextWrangler which automates charset detection and saving back to the original format without me having to do as much as a mouse click, let alone typing console commands!</p>

<p>And I guess it&#039;ll be easier to use TextWrangler for my personal projects as well, which are of course in UTF-8.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Odgaard</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-4156</link>
		<dc:creator>Allan Odgaard</dc:creator>
		<pubDate>Sat, 25 Jul 2009 14:53:46 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-4156</guid>
		<description>&lt;p&gt;Anton: The blog post is making a case for UTF-8 because many users have been using legacy encodings simply because no-one explained the advantages of UTF-8 or the disadvantages of using legacy encodings.&lt;/p&gt;

&lt;p&gt;The blog post further shows how you can convert from practically any encoding to any other encoding using the &lt;code&gt;iconv&lt;/code&gt; command found on every install of OS X.&lt;/p&gt;

&lt;p&gt;As for going UTF-8 only, that actually is something I plan to do, but at the same time introduce import/export callbacks that can do the necessary transcoding for users that need this.&lt;/p&gt;

&lt;p&gt;There are also users who keep their log files gzipped, and want to open them in TextMate, or keep them on an sftp server, and want to open them in TextMate, etc. I don’t see anyone calling me arrogant because I haven’t yet addressed these needs…&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Anton: The blog post is making a case for UTF-8 because many users have been using legacy encodings simply because no-one explained the advantages of UTF-8 or the disadvantages of using legacy encodings.</p>

<p>The blog post further shows how you can convert from practically any encoding to any other encoding using the <code>iconv</code> command found on every install of OS X.</p>

<p>As for going UTF-8 only, that actually is something I plan to do, but at the same time introduce import/export callbacks that can do the necessary transcoding for users that need this.</p>

<p>There are also users who keep their log files gzipped, and want to open them in TextMate, or keep them on an sftp server, and want to open them in TextMate, etc. I don’t see anyone calling me arrogant because I haven’t yet addressed these needs…</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Gavrilov</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-4153</link>
		<dc:creator>Anton Gavrilov</dc:creator>
		<pubDate>Sat, 25 Jul 2009 12:37:24 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-4153</guid>
		<description>&lt;p&gt;UTF-8 is excellent, but the hard cold reality is that there is &lt;em&gt;a lot&lt;/em&gt; of non-Unicode software around that you have to interoperate with, and it&#039;s not going anywhere as long the dominant OS is Windows with its mess of code pages and UTF-16 (perhaps the most cumbersome way to represent Unicode - do you know how much software which does try to support it will pretend surrogate pairs just don&#039;t exist?).&lt;/p&gt;

&lt;p&gt;It is such an arrogance to say &quot;Just use UTF-8&quot; having ensured, with Latin-1, that the problem of legacy encodings doesn&#039;t bite you personally (and perhaps your largest market, which incidentally seems to be the one most suffering from the recession right now).&lt;/p&gt;

&lt;p&gt;Why don&#039;t you put your money where your mouth is and remove support for the Western encodings, leaving just plain ASCII and Unicode?  And when your customers start asking for a refund, tell them you don&#039;t see what their problem is - everyone should be using UTF-8 by now, right?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>UTF-8 is excellent, but the hard cold reality is that there is <em>a lot</em> of non-Unicode software around that you have to interoperate with, and it&#039;s not going anywhere as long the dominant OS is Windows with its mess of code pages and UTF-16 (perhaps the most cumbersome way to represent Unicode &#8211; do you know how much software which does try to support it will pretend surrogate pairs just don&#039;t exist?).</p>

<p>It is such an arrogance to say &#034;Just use UTF-8&#034; having ensured, with Latin-1, that the problem of legacy encodings doesn&#039;t bite you personally (and perhaps your largest market, which incidentally seems to be the one most suffering from the recession right now).</p>

<p>Why don&#039;t you put your money where your mouth is and remove support for the Western encodings, leaving just plain ASCII and Unicode?  And when your customers start asking for a refund, tell them you don&#039;t see what their problem is &#8211; everyone should be using UTF-8 by now, right?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ev</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-3688</link>
		<dc:creator>ev</dc:creator>
		<pubDate>Thu, 26 Mar 2009 15:28:15 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-3688</guid>
		<description>&lt;p&gt;I am a web developer. Nowdays our company design new sites on UTF-8. But old sites are already done in windows-1251, and sometimes they need changes. So every day I connect to some servers through FTP (SFTP etc) and open, change and save some files written on windows-1251.&lt;/p&gt;

&lt;p&gt;Is it possible to use TextMate to help me with these tasks? I suppose, iconv command can be used to change encoding &quot;on the fly&quot;, but I don&#039;t know how to do that, because I went to Mac OS from Windows recently, so I am not familiar with terminal features.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am a web developer. Nowdays our company design new sites on UTF-8. But old sites are already done in windows-1251, and sometimes they need changes. So every day I connect to some servers through FTP (SFTP etc) and open, change and save some files written on windows-1251.</p>

<p>Is it possible to use TextMate to help me with these tasks? I suppose, iconv command can be used to change encoding &#034;on the fly&#034;, but I don&#039;t know how to do that, because I went to Mac OS from Windows recently, so I am not familiar with terminal features.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jpol</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-3681</link>
		<dc:creator>jpol</dc:creator>
		<pubDate>Sat, 07 Mar 2009 22:34:07 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-3681</guid>
		<description>&lt;p&gt;Really guys, lack of ISO 8859-7 encoding is what keeps me from using this app over TexShop. Too bad..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Really guys, lack of ISO 8859-7 encoding is what keeps me from using this app over TexShop. Too bad..</p>]]></content:encoded>
	</item>
	<item>
		<title>By: george tziralis</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-3333</link>
		<dc:creator>george tziralis</dc:creator>
		<pubDate>Tue, 22 Jul 2008 16:18:39 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-3333</guid>
		<description>&lt;p&gt;I&#039;m a textmate lover and I&#039;ve written my PhD dissertation in latex using textmate. Now I&#039;ve learned that I can&#039;t submit it in english (i&#039;m studying in Athens), so I need to translate it in Greek. The only package that works seamlessly with greek in latex requires an ISO 8859-7 encoding and I do feel pretty unlucky that you have yet to add support for separate than utf-8 encodings (even if your arguments are strong indeed). Or is there any hope/hack for my beloved software at the end of the tunnel?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#039;m a textmate lover and I&#039;ve written my PhD dissertation in latex using textmate. Now I&#039;ve learned that I can&#039;t submit it in english (i&#039;m studying in Athens), so I need to translate it in Greek. The only package that works seamlessly with greek in latex requires an ISO 8859-7 encoding and I do feel pretty unlucky that you have yet to add support for separate than utf-8 encodings (even if your arguments are strong indeed). Or is there any hope/hack for my beloved software at the end of the tunnel?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MarkUp</title>
		<link>http://blog.macromates.com/2005/handling-encodings-utf-8/#comment-3328</link>
		<dc:creator>MarkUp</dc:creator>
		<pubDate>Fri, 11 Jul 2008 09:36:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=52#comment-3328</guid>
		<description>&lt;p&gt;Allan,&lt;/p&gt;

&lt;p&gt;Honestly, I&#039;m convinced that you could add load/save suport for more encodings in TextMate in less time than it took you to create this page.&lt;/p&gt;

&lt;p&gt;I don&#039;t see the point in teaching people to use UTF-8 in an editor that claims to be some sort of &quot;culmination&quot; and oriented to &quot;expert scripters and novice users alike/Whether you are a programmer or a designer&quot; when we, expert scripters, programmers, designers and even novice users have often the need to deal with other encodings.&lt;/p&gt;

&lt;p&gt;I also don&#039;t see the point in teaching us the burden of using iconv, when you could even just create a temporary file and call iconv on it from TextMate itself if you don&#039;t feel like using the comfortable OS X API to do it the right way (another thing that could be implemented in less time than it is discussed!).&lt;/p&gt;

&lt;p&gt;We are not requesting TextMate to be some sort of Wintel Nero-like feature-overflowed monster app! But supporting load/save in different encodings is something that even TextEdit does!&lt;/p&gt;

&lt;p&gt;I myself am a programmer whose applications depart radically from standards (most even take over the OS!), and often I try to teach people to &quot;good habits&quot;, but for this reason my apps are clearly labelled for that purposes and don&#039;t give the impression of being all-purpose culminations of anything.&lt;/p&gt;

&lt;p&gt;I really love TextMate, but I need an all-purpose editor that has &lt;em&gt;at least&lt;/em&gt; the same features of TextEdit or Xcode&#039;s built-in editor.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MarkUp
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Allan,</p>

<p>Honestly, I&#039;m convinced that you could add load/save suport for more encodings in TextMate in less time than it took you to create this page.</p>

<p>I don&#039;t see the point in teaching people to use UTF-8 in an editor that claims to be some sort of &#034;culmination&#034; and oriented to &#034;expert scripters and novice users alike/Whether you are a programmer or a designer&#034; when we, expert scripters, programmers, designers and even novice users have often the need to deal with other encodings.</p>

<p>I also don&#039;t see the point in teaching us the burden of using iconv, when you could even just create a temporary file and call iconv on it from TextMate itself if you don&#039;t feel like using the comfortable OS X API to do it the right way (another thing that could be implemented in less time than it is discussed!).</p>

<p>We are not requesting TextMate to be some sort of Wintel Nero-like feature-overflowed monster app! But supporting load/save in different encodings is something that even TextEdit does!</p>

<p>I myself am a programmer whose applications depart radically from standards (most even take over the OS!), and often I try to teach people to &#034;good habits&#034;, but for this reason my apps are clearly labelled for that purposes and don&#039;t give the impression of being all-purpose culminations of anything.</p>

<p>I really love TextMate, but I need an all-purpose editor that has <em>at least</em> the same features of TextEdit or Xcode&#039;s built-in editor.</p>

<p>Cheers,</p>

<pre><code>MarkUp
</code></pre>]]></content:encoded>
	</item>
</channel>
</rss>

