LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2012, 08:29 AM   #1
Perronegro
LQ Newbie
 
Registered: Jul 2012
Distribution: Suse 11
Posts: 4

Rep: Reputation: Disabled
Question iconv encoding from windows to linux


Hey Guys,

I have a windows text file with call data i'm trying to move across to my linux box for processing, problem is when i run iconv -f UTF-16 -t UTF8 it seems to wrap the text which and makes it impossible to process the file through our linux Telephone Management System. My question is what can i do to prevent the text wrap, should i choose another encoding?

Regards
 
Old 07-07-2012, 03:03 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Mayabe you can use dos2unix since I think it's a problem regarding lline-feed and carriage-return.
 
Old 07-08-2012, 01:46 PM   #3
Perronegro
LQ Newbie
 
Registered: Jul 2012
Distribution: Suse 11
Posts: 4

Original Poster
Rep: Reputation: Disabled
tried the dos2unix, didn't work though, but while i was playing alittle more i realised it's the powershell script thats extracting it to the linux box that's screwing up the original format .. Do'h so i'm going to work on the powershell output, that should be simpler.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make iconv to skip incorrect symbols or iconv alternative? x-stream Linux - Software 4 09-26-2011 10:32 PM
LXer: Using Iconv To Convert Character Sets On Linux And Unix LXer Syndicated Linux News 0 10-07-2008 03:00 PM
Convert file from ISO-8859-1 to some Japanese encoding? (iconv errors) violagirl23 Linux - Software 5 03-26-2008 01:13 AM
encoding speed difference linux and windows shanenin Linux - Software 6 08-09-2004 08:40 AM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration