Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Unknown Newsgroups: comp.os.linux.misc,alt.os.linux.slackware,alt.os.linux.debian Subject: Re: We NEED this function. Date: Mon, 9 Feb 2015 11:43:19 +0000 (UTC) Organization: A noiseless patient Spider Lines: 41 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 9 Feb 2015 11:43:19 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="45860ec34577eb7f8f0c55df31220aed"; logging-data="26909"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vEqQAZE33hsdgAGSOdWnbbosulWk8LSQ=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:xw/IBUXVvkOP++R7HMtVJB4whGc= Xref: csiph.com comp.os.linux.misc:13664 On Tue, 03 Feb 2015 18:17:38 +0000, Rich wrote: > In comp.os.linux.misc no.top.post@gmail.com wrote: Let me RE-insert the text which was deceptively snipped when Rich wrote:- ] That I can't know how this paste looks on your screen, is further proof ] of the need for such a non-ASCII-cleaner and general purpose ] string-translator, even replacing eg. `fromdos`. >> -> echo " isnAÄt al" |hexdump -C == >> 00000000 20 69 73 6e c2 80 74 20 61 6c 0a | isnAÄ.t >> al.| > >> The 2-byte:c2 80; which should be a is probably >> generated by M$, although a competent emacs user posts similar >> *here*. > > That 2-byte sequence is a valid UTF-8 encoding of a hex unicode code > point 0x80 character. > Yes. I can also embed in my ASCII mails. > See this: > http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=c2+80&mode=bytes > >> Apart from finding the customised tool, the best solution offered >> involved using awk!! > > Actually, the best solution offered pointed you to the correct tool for > the job, the 'mimencode' command, but you simply, as usual, ignored it > and continued ranting. It's not about 'memencode' that was just an example. `tr`, `sed` ..are not restricted to . --- I want to speak to the injunyear, not the sales clerk. The sales clerk just wants to sell me "the correct tool for the job". That's not how *nix works.