🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #71561

Re: [slrn] - newbie - translating an article - another way

#71561
From: John Doe
Date: Sun, 04 Feb 2001 02:57
32 lines
2119 bytes
same thing happens with these commands
  define str_replace_all (orig, match, replacement)
     {
        while (str_replace (orig, match, replacement))
           orig = ();
        return orig;
     }
  str1=article_as_string ();
  str1=str_replace_all(str1,"�","�");
  str1=str_replace_all(str1,"�","�");
  .
  .
  .
  replace_article (str1);
specifically all occurences of � (and other characters)
show up as question marks
is there something that can be done to correct these behaviour

On 3 Feb 2001 02:56:21 GMT, John Doe <vert@news.ntua.gr> wrote:
>I'm translating an article and getting the result with
>these basic commands: 
>   while (-1 != fgets (&line, fp))
>    str2 = str2 + line;
>   replace_article (str2);
>the problem is that many of the characters appear as ?
>in the slrn article window.If I pipe the article to the
>translation command there is no problem.
>Is there a problem with my commands or just a way
>to make slrn show all the ascii characters correctly ?
>
>thank you
Technical Details
Message-ID: <slrn97pbrc.3vvl28r.vert@vertice.forthnet.gr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!130.59.214.20!news-ge.switch.ch!news.grnet.gr!news.ntua.gr!vert
References: <slrn97mna4.3vveqpt.vert@vertice.forthnet.gr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn97pbrc.3vvl28r.vert@vertice.forthnet.gr>
Subject: Re: [slrn] - newbie - translating an article - another way
Date: Sun, 04 Feb 2001 02:57:42 +0000
From: vert@news.ntua.gr (John Doe)
References: <slrn97mna4.3vveqpt.vert@vertice.forthnet.gr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!130.59.214.20!news-ge.switch.ch!news.grnet.gr!news.ntua.gr!vert
Newsgroups: news.software.readers
Organization: National Technical University of Athens, Greece
Lines: 31
Reply-To: vertt@iname.com
NNTP-Posting-Host: 195.130.100.187
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-7
Content-Transfer-Encoding: 8bit
X-Trace: ulysses.noc.ntua.gr 981255462 641 195.130.100.187 (4 Feb 2001 02:57:42 GMT)
X-Complaints-To: abuse@ntua.gr
NNTP-Posting-Date: 4 Feb 2001 02:57:42 GMT
User-Agent: slrn/0.9.6.3 (Win32)