Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Convert UTF-16 encoded file to UTF-8

Answer:

iconv is what you need and is available on most Linux platforms.

# iconv -f UTF-16 -t UTF-8 text.txt

  1. Convert Windows text file to UNIX format without dos2unix
  2. Convert DOS/MAC to UNIX text file format converter
  3. Sending a UTF-8 encoded CSV from PHP
  4. Convert a Nero .nrg file to .iso file
  5. Convert DOS newlines to Unix format

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>