Skip to Content.
Sympa Menu

freetds - [freetds] detecting iconv names

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "Freetds (E-mail)" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] detecting iconv names
  • Date: Fri, 2 May 2003 14:25:23 +0200

I'm doing some tests to test iconv.
My intention is to convert some code and see results. Problem is portability
I tried this line
echo foo | iconv -f iso88591 -t ucs2 | perl -ne "print unpack('H*',\$_);"
on a HP/UX 10.20 and produce
0066006f006f000a
(as expected, it's UCS-2 bigendian)
Now, problem is perl. Does all system support perl?
My intention is to put these tests in configure so it should be portable. I
don't know any command to return hexdump in a portable way (ie hexdump is not
present in HP/UX)...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page