Menu

recode binary

Help
2005-08-15
2013-11-16
  • Nobody/Anonymous

    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

     
    • Nobody/Anonymous

      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.

       
  • Peter Tandler

    Peter Tandler - 2011-05-16

    Is there any news on the recode binary package?

    Or is there a good alternative tool as powerful as recode?

    Thanks,

    PT

     
  • Allan

    Allan - 2011-05-18

    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.

    http://www.gnu.org/software/libunistring/

     
  • Peter Tandler

    Peter Tandler - 2011-05-19

    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.

     
  • FH

    FH - 2013-11-16

    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.

     
MongoDB Logo MongoDB