LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2004, 11:10 PM   #1
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
utf , standard output / input and grep too


is there a way to convert text from a utf encoding to 'normal' text so i could pipe it through grep and other programs that accept standard output?
 
Old 11-05-2004, 01:30 AM   #2
yano
Member
 
Registered: Nov 2004
Location: Slovak republic - Bratislava
Distribution: debian & gentoo
Posts: 43

Rep: Reputation: 15
run google, type charset convertor linux and wait a while ;-)
install, convert enjoy.
 
Old 11-05-2004, 08:52 AM   #3
morgwai
LQ Newbie
 
Registered: Oct 2004
Location: krakow/poland
Distribution: other
Posts: 7

Rep: Reputation: 0
iconv -f utf-8 -t desired_encoding <input_file >output_file
but if u have modern linux distro then if u change locale to some unicode then grep and other programs will handle utf input correctly (utf encoding is really a cool stuff)
 
  


Reply



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
Standard Input in Perl Program eachow Linux - General 2 11-17-2005 12:16 AM
grep input/output error on slackware 10.1 install dpp777 Linux - Newbie 1 09-07-2005 09:25 AM
parsing standard input with bash arosales Programming 3 07-16-2005 10:42 AM
[Enter] in text documents diffrent on Windows and Linux? UTF-8/UTF-16 problem or? brynjarh Linux - General 1 11-24-2004 05:20 AM
Changing Keyboard input into UTF-8 format LinuxTiro Programming 1 05-08-2004 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

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
Open Source Consulting | Domain Registration