Hi,
I wonder in which package the recode binary can be found.
AFAICT from a search, there once was a recode package, but it seems not to be available anymore?
Thanks
JF
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Removed use of recode, since the recode library seems to have problems;
instead use fake recode functions using iconv. The problems with iconv
that led to fortune changing to recode are somewhat mitigated by using
iconv's transliteration option. This should be a temporary measure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not sure that recode' is being currently maintained by anybody. One
project that comes to mind if unicode representations are involved islibunistring'. Of course, the library has to be called from a C program to be
used. I did build libunistring a while ago and it was easy to install.
After having looked in vain for recode in my GnuWin32 installation and the downloads section of this project for a while, I found this thread telling me that recode is not available any more. What a pity.
For my current problem, iconv would do, combined with the following batch file, but I'm not sure it will always be sufficient - anyway, in case any future reader is looking for something similar:
FOR %%F in (*.srt) DO (
call iconv -f <in> -t UTF-8 %%F > UTF8.%%~nxF
)
PAUSE
(replace <in> with the input encoding)
In any case, I started looking for recode and installing GnuWin32 after finding this page, which now obviously contains misleading information. Maybe it can be removed, or at least marked as being outdated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I wonder in which package the recode binary can be found.
AFAICT from a search, there once was a recode package, but it seems not to be available anymore?
Thanks
JF
I found this on the net:
Removed use of recode, since the recode library seems to have problems;
instead use fake recode functions using iconv. The problems with iconv
that led to fortune changing to recode are somewhat mitigated by using
iconv's transliteration option. This should be a temporary measure.
Is there any news on the recode binary package?
Or is there a good alternative tool as powerful as recode?
Thanks,
PT
I am not sure that
recode' is being currently maintained by anybody. One project that comes to mind if unicode representations are involved islibunistring'. Of course, the library has to be called from a C program to beused. I did build libunistring a while ago and it was easy to install.
http://www.gnu.org/software/libunistring/
Thanks for your reply! It's a pity if recode is not maintained anymore, it's
such a handy tool!
A colleague pointed me at a Windows binary of recode.exe that is included in
http://sourceforge.net/projects/unxutils/files/unxutils/current/ This seems to work well.
After having looked in vain for
recodein my GnuWin32 installation and the downloads section of this project for a while, I found this thread telling me thatrecodeis not available any more. What a pity.For my current problem,
iconvwould do, combined with the following batch file, but I'm not sure it will always be sufficient - anyway, in case any future reader is looking for something similar:(replace
<in>with the input encoding)In any case, I started looking for
recodeand installing GnuWin32 after finding this page, which now obviously contains misleading information. Maybe it can be removed, or at least marked as being outdated.