W3C home > Mailing lists > Public > www-international@w3.org > April to June 2003

Re: SHIFT-JIS to UTF-8 conversion

From: by way of Martin Duerst <Indira.Viswanathan@xilinx.com>
Date: Mon, 21 Apr 2003 19:58:39 -0400
Message-Id: <4.2.0.58.J.20030421195834.05962a50@localhost>
To: www-international@w3.org
Sorry, I'm resending this since I found that I had spelt UTF-8 wrong in 
subject line.

Thanks,
Indira.

Indira Viswanathan wrote:

 > Hi Alexander,
 >    Thank you so much for sending me the information.  But when I try it 
I get an error "Not supported
 > SHIFT-JIS to UTF-8".  So I checked the valid codes and SHIFT-JIS was not 
one of them but UTF-8 was.  And
 > all our documents are in SHIFT-JIS - so that is the encoding we've to 
use for input file.  Do you think
 > it's not supported because we've an older version of iconv or is there 
any other encoding that I should
 > be trying which is same as SHIFT-JIS?
 >
 > Thanks,
 > Indira.
 >
 > Alexander Pohoyda wrote:
 >
 > > Indira Viswanathan <Indira.Viswanathan@xilinx.com> (by way of Martin 
Duerst <duerst@w3.org>) writes:
 > >
 > > > We need to convert thousands of files from SHIFT-JIS to UTF-8.  Do you
 > > > know of a command line utility that can run on UNIX to convert these
 > > > documents.
 > >
 > > There is a GNU tool called iconv:
 > > $iconv -f SHIFT-JIS -t UTF-8 inputfile > outputfile
 > > Available at least on Linux and FreeBSD.
 > >
 > > --
 > > Alexander Pohoyda
 > > <alexander.pohoyda@gmx.net>



Received on Monday, 21 April 2003 19:58:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:00 GMT