Re: Read Subject content from STDIN

"'Chip' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <6B56B694B2F047C99F9397B99595132C@chip>
> Hi there, is it possible to read content of Subject from STDIN?
>
> In windows, console have to be switched to CP 65001 to eat unicode 
> characters of non-english languages. This may cause other problems because 
> windows UTF-8 is poor and some program have strange behaviour under 
> codepage 65001. But you can bypass broken console characters handling, by 
> push characters directly into stdin of program:
>
> echo ěščřžýáíé| blat.exe body.html -to [email protected] -s -
>
> In this case (body is readed from file, subject is piped to stdin) all 
> diacritics characters are preserved no matter what codepage is active in 
> windows console.
>
> Tested on windows 7 - 64bit, but only dash appears in Subject line....
>
> L.


The answer is no, it is not possible to get the subject from stdin.  You can
pipe the message body into Blat, but not the subject.

You did not say which version of Blat you are using, but the latest version
should handle your diacritics just fine if you write them to a Unicode or
UTF-8 file, and use the -sf option to read the subject from a file.

Chip 



------------------------------------

------------------------------------

-- 
Homepage:
  http://www.blat.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.