<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<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">
	<channel>
		<title>pnotepad.org forums &#187; Tag: utf-8 - Recent Topics</title>
		<link>http://pnotepad.org/forums/tags/utf-8</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 11:47:31 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/tags/utf-8/topics" rel="self" type="application/rss+xml" />

		<item>
                        <title>Default UTF-8 encoding not working (airmw)</title>
			<link>http://pnotepad.org/forums/topic/5128#post-7532</link>
			<pubDate>Tue, 04 Jan 2011 17:36:08 +0000</pubDate>
			<dc:creator>airmw</dc:creator>
			<guid isPermaLink="false">7532@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I have UTF-8 set as the default encoding, however, this will only work if I start a new document from within PN. If I create a blank new document via the command line (pn.exe %1) or by creating a blank new file (foo.txt) the encoding defaults to ANSI.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>More compatibility support for encoding (ANSI and UTF-8) (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/2025#post-4069</link>
			<pubDate>Tue, 13 Apr 2010 09:45:38 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">4069@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello!&#60;br /&#62;
At first I'd like to thank you, Simon, for the newest version 2.1. It has been a while since I looked here for new versions and this one impresses me. Native support for extensions without the need to install Python (and a nice text sorting extension) and native UTF-8 support, finally. You see, UTF-8 is the future, but already for years, so PNotepad was already late. ;-)&#60;/p&#62;
&#60;p&#62;If you only edit UTF-8 files everything is nice. But I also have many many old ANSI (1252) files, and it would be great to use PNotepad as all-purpose editor for both encodings. Here is why is that not yet possible:&#60;/p&#62;
&#60;p&#62;1. I want to create new files automatically in UTF-8. But when I set „Code Page“ to Unicode (UTF-8), all opened ANSI files (with automatc encoding recognition) are displayed wrong. The editor recognizes ANSI encoding and says so in status line, but instead of an „ü“ I only get a square with „FC“ written in it. So it seems a bug: the text window wants to display the text in UTF-8, but it is ANSI and it should be displayed so.&#60;br /&#62;
That's really annoying. Either I can't open my old ANSI files properly or I manually have to change encoding from ANSI to UTF-8 on every single new-created document.&#60;/p&#62;
&#60;p&#62;2. There is still no easy conversion between encodings, which I proposed in July 2008: &#60;a href=&#34;http://pnotepad.org/forums/topic/443#post-1558&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/forums/topic/443#post-1558&#60;/a&#62;&#60;br /&#62;
And yes, I rechecked the behaviour. It's still the same. It would be so easy to implement an option to set/change the encoding in the save dialog window.&#60;/p&#62;
&#60;p&#62;I already created two bug reports (875 and 876) for these issues. Hopefully I'm waiting for them to be finished (at least 875). :-)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>&#34;Replace all&#34; problem (omli)</title>
			<link>http://pnotepad.org/forums/topic/2776#post-4837</link>
			<pubDate>Wed, 28 Apr 2010 18:32:41 +0000</pubDate>
			<dc:creator>omli</dc:creator>
			<guid isPermaLink="false">4837@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Replace All button isn't working for &#34;’&#34; (this inside double quotes) . I'm trying to replace &#34;’&#34; with &#34;'&#34;, but nothing happens. I have to click Replace button many times.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>[not running] PyPn won&#039;t run with PN 2.0.9.806 (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/442#post-1557</link>
			<pubDate>Thu, 17 Jul 2008 15:44:04 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">1557@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello!&#60;br /&#62;
Because it is my first posting here, I'd like to thank the programmer for developing such a useful editor. It's one of the best I've ever seen because it has all the small little features which I miss in all other editors. It's not overcrowded, yet has many options. Thanks a lot and keep working on it! :)&#60;/p&#62;
&#60;p&#62;So now to my question. I'm using PN 2.0.9.806-devel because this version has correct handling of Home/End keys and of UTF-8 encoded files. While looking around in this forum I discovered PyPn as a wonderful method of extending editor functions with Scripts (I'd like to try auto indent scripts). But unfortunately it won't work in my editor.&#60;br /&#62;
The use of PyPn 0.9.794 for Python 2.5 crashes PN so it won't start up. Using 0.8.717 doesn't crash but I don't have any scripts visible in script list (Alt-F10). Maybe it's working though and I just have no scripts (but there are some in scripts folder)...?&#60;/p&#62;
&#60;p&#62;Using stable version of PN (2.0.7.?) won't work with PyPN 0.8 (crashing at startup) but doesn't show any scripts when using PyPN 0.9. It's the same problem, only the other way round compared with PN 2.0.9.806...&#60;/p&#62;
&#60;p&#62;Which combination of PN and PyPN should I use? I'm using WinXP SP2 and Python 2.5.2. Other Python tools run properly.&#60;/p&#62;
&#60;p&#62;Thanks for help,&#60;br /&#62;
rc
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>UTF-8 to ANSI conversion is too circuitous (rc-flitzer)</title>
			<link>http://pnotepad.org/forums/topic/443#post-1558</link>
			<pubDate>Sat, 19 Jul 2008 11:06:09 +0000</pubDate>
			<dc:creator>rc-flitzer</dc:creator>
			<guid isPermaLink="false">1558@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hello!&#60;br /&#62;
It is great that PNotepad can handle both UTF-8 (with/without BOM) and ANSI encoding files. But it's not that easy to convert from one encoding to another. Maybe I'm doing wrong, but here are my procedures.&#60;/p&#62;
&#60;p&#62;ANSI to UTF-8:&#60;br /&#62;
Open textfile, recognized correctly as ANSI. Then I copy/cut the entire file (so it is empty) and set File-&#38;gt;Encoding-&#38;gt;UTF-8. I paste back the file content, save it and it is converted to UTF-8. :) Not that easy but ok.&#60;/p&#62;
&#60;p&#62;UTF-8 to ANSI:&#60;br /&#62;
This is way more complicated. I open the file, recognized as UTF-8. Copy/cut the entire file, set File-&#38;gt;Encoding-&#38;gt;8-Bit. Paste back the file content, save it, BUT: it is still UTF-8 encoded. :(&#60;br /&#62;
The way it works: copy/cut entire file content, set File-&#38;gt;Encoding-&#38;gt;8-Bit. Then save and CLOSE. Reopen the file, paste back the file content, again save. Then it is stored as an ANSI encoded file.&#60;/p&#62;
&#60;p&#62;Why has the conversion be so complicated? Maybe the option File-&#38;gt;Encoding does not convert but interpret the file new, is this correct? But how should I easily convert a textfile to another encoding? I have a proposal: maybe you can add an &#34;Encoding&#34; setting in the &#34;Save as...&#34; window. The user won't have to copy/cut/repaste, it's just that the file content is stored with another encoding. I know that it works because with the complex way (described above) it is at least possible, but not comfortable...&#60;/p&#62;
&#60;p&#62;Thanks for reading,&#60;br /&#62;
rc
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>charset per filetype (troels)</title>
			<link>http://pnotepad.org/forums/topic/187#post-665</link>
			<pubDate>Fri, 23 Mar 2007 13:43:03 +0000</pubDate>
			<dc:creator>troels</dc:creator>
			<guid isPermaLink="false">665@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Some content types default to utf-8, while others default to an 8-bit encoding. It would be practical if it was possible to specify on a per filetype-basis, which encoding to default to.&#60;br /&#62;
A distinction between different types of 8-bit charsets would be a nice addition. In particular, to be able to choose between iso-8859-1 and windows-1252 would be very useful.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>utf-8 and smarty... possible bug? (michaelkelly)</title>
			<link>http://pnotepad.org/forums/topic/176#post-631</link>
			<pubDate>Wed, 07 Mar 2007 16:37:29 +0000</pubDate>
			<dc:creator>michaelkelly</dc:creator>
			<guid isPermaLink="false">631@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I have experienced interesting behavior while using programmers notepad (v.2.0.6.1) and smarty (v.2.6.17).&#60;/p&#62;
&#60;p&#62;When I use UTF-8 encoding on a *.tpl file, and smarty parses the *.tpl file three hex values are places at the beginning of every *.tpl file that is included in the php. They are: BE BB BF I believe. This is only a problem because ie7 interprets these in the same way that it interprets a comment before the doctype statement. When you put a comment before the doctype statement in ie you are put into quirks mode. And this in turn breaks my css. I have solved the problem by coding the files in 8-bit format instead of UTF-8.&#60;/p&#62;
&#60;p&#62;I have not tried using a different editor and encoding in UTF-8 and running it through smarty.&#60;/p&#62;
&#60;p&#62;I have however, tried to make *.php files with programmers notepad and these hex characters were not added to the beginning of the files.&#60;/p&#62;
&#60;p&#62;I may have some setting turned wrong in smarty and/or programmers notepad but i don't know i just thought that someone else might like to know if it were a bug in either program&#60;/p&#62;
&#60;p&#62;-michael
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>BOM in UTF-8 (zendak)</title>
			<link>http://pnotepad.org/forums/topic/151#post-555</link>
			<pubDate>Wed, 20 Dec 2006 11:26:05 +0000</pubDate>
			<dc:creator>zendak</dc:creator>
			<guid isPermaLink="false">555@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Is there a way to keep UTF-8 from inserting a Byte-Order Mark? Something like setting the &#34;UTF-8 cookie&#34; property in SciTE.. The BOM causes some problems with certain interpreters like PHP and older browsers, and if I understand correctly, makes sense in UTF-16 only anyway.&#60;/p&#62;
&#60;p&#62;Apart from that I love the program. Using v2.0.6.1&#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

