At the moment phase 5 does not support unicode. This does not necessarily mean that you have to do without your favourite editor if a project has to be in utf-8 and similar charsets.
GNU offers a handy conversion tool named Iconv, which is widespread in the Unix and Perl world. It also comes as an extension for PHP. And even for Windows you can get a version. This version can be used via this plugin.
Actually, blechtrottel brodaktschns advocate an improvement of Iconv, named Uconv, which is part of the ICU package offered by the ICU project.
- Version 3.0 (August 2008)
buttons for phase 5 import/export
reading and writing of utf signatures (BOM)
file paths may contain spaces
also works standalone via Drag-and-Drop and via SendTo links
several bug fixes
- Version 2.0 (February 2008)
two user-definable quick buttons
- Version 1.0 (June 2007)
six separate selectable charsets for input and output
- iso2utf.bat & utf2iso.bat (November 2005)
these batch files were not as comfortable and only converted iso-8859-1 and utf-8
- Download Uconv or Iconv and unzip into a folder of your choice.
- From iconvutf8.zip copy Iconv-UTF8.exe and iconvutf8.ini into the plugins folder of phase 5.
- In iconvutf8.ini set the path to uconv.exe or iconv.exe at iconv =. Done! For hints on the additional settings in iconvutf8.ini there is an example.ini in the download package.
Open a file in Phase 5 and select Iconv-UTF8 in the Tools menu. The plugin will read the character encoding from the input file, if there is a signature, an encoding- or charset-entry. Then all you have to do is select the output-file encoding. Alternatively you can use the import button ([>> phase 5 (cp1252)]). This comes in rather handy when you just want to convert a file in order to do some quick changes.
Should you not be able to open an exotic file (e.g. utf-32) in phase 5, you can open the plugin standalone and drag and drop the file onto it. You can also put a shortcut into your SendTo folder.
Up to six encodings for either source and target can be preselected in the ini file for quick access. Should the choice of encodings not suffice you can enter any encoding supported by Uconv/Iconv into a separate box. Uconv is the more versatile of the two. A list of encodings supported can be called by pressing the help button ([?]).
In addition you can enter two user-definable from-to combinations into the ini and access them via two quick buttons.
- If you want to keep the original file you must copy it before you call the plugin.
- Conversions with Iconv can be tricky. We advise you to backup your files first.
- In iconvutf8.ini you can select English and German as the display language.
- Conversions do not change the fact that phase 5 is limited in the charsets it can display. Thus, the plugin's use is limited, too. It has proven ok, for example, to translate an utf8-file into iso or cp1252 (phase 5's native encoding), edit it and finally convert it back again. (All RSS feeds in the projects of blechtrottel brodaktschns are maintained this way)
- If the entries under encoding or charset are wrong then the conversion may fail. After conversion the entries will be wrong in any case, for the plugin does not change the entries in the output. You will have to change these manually if you do not intend to convert the file back again.
- Results cannot be undone by pressing Ctrl+Z! (Did we mention that you should backup your files first ...?)
- Iconv-UTF8.exe was written with the freeware script tool AutoIt. It may not work with files of any size. We ask you to send reports.
- The plugin was tested under Windows 2000 and XP. Requests, suggestions and comments are welcome.
- If you would like to translate the plugin please send us an e-mail.
PS.: freeware & viruses
All programs by blechtrottel brodaktschns are of course free of any viruses. Yet. they may wrongly be accused by some virus programs. Why this sometimes happens - to us and others - can be read on this info page.