How to tell SED to emit output in 8-bit ASCII only?

Posted: 03-29-2009, 05:34 PM
I am sure there are better places/forums to ask the below question, but I didn't find any. If you know a better place please advise!

I have to mangle some "plain ASCII" text file (i.e. 8 bits/characters where the text DOES contain characters like Umlauts and accented characters from the upper 7-bits range, i.e. with hex codes in [128..254]).
For this I am trying to use SED which I downloaded as part of cygwin package. Alas, SED emits the result using Unicode-16 characters (i.e. 16 bits/characters), which the program for which the output is intended can't handle.
Can one tell SED to NOT emit Unicode-16 characters but force it to emit Unicode-8 only?

Michael

How to tell SED to emit output in 8-bit ASCII only?


Responses to "How to tell SED to emit output in 8-bit ASCII only?"

Mike Torello
Guest
Posts: n/a
 
Re: How to tell SED to emit output in 8-bit ASCII only?
Posted: 03-29-2009, 07:07 PM
"Michael Moser" <michael-nospam.moser@nospam.freesurf.ch> wrote:
>I am sure there are better places/forums to ask the below question,
>but I didn't find any. If you know a better place please advise!
It most certainly does NOT belong in a group for discussing Vista
issues.

Try...

comp.editors

Michael Moser
Guest
Posts: n/a
 
Re: How to tell SED to emit output in 8-bit ASCII only?
Posted: 03-29-2009, 07:32 PM
Mike Torello wrote:
> "Michael Moser" <michael-nospam.moser@nospam.freesurf.ch> wrote:
>
>> I am sure there are better places/forums to ask the below question,
>> but I didn't find any. If you know a better place please advise!
>
> It most certainly does NOT belong in a group for discussing Vista
> issues.
I know, but since I expected to find here are all the file(-mangling) and sys-admin gurus I hoped, that one of them might know me a pointer...
> Try...
>
> comp.editors
Do you by chance also have a news server handy that features that NG?

Michael

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
why does my 952c printer continously emit blank pages when i access print in the file Guest Windows NT/2000/XP 0 09-11-2008 10:41 PM
ASCII pikseegirl@officeformac.com Mac Office Excel 1 01-28-2008 07:02 PM
Output Resolution; Output Screen Size willowbrookband@gmail.com Mac Office Power Point 1 10-10-2007 03:39 AM
WMP10 does not emit sound. All other applications do! What's goin on? Eric Anderson Windows XP Music 0 09-13-2004 11:08 PM
ASCII Terry_Fyffe@adobeforums.com Mac Applications 3 08-05-2004 06:55 PM