Article View: news.software.readers
Article #266312Re: charset issues
From: vallor
Date: Fri, 20 Oct 2023 03:07
Date: Fri, 20 Oct 2023 03:07
75 lines
3536 bytes
3536 bytes
On Thu, 19 Oct 2023 18:34:46 -0000 (UTC), Ted Heise <theise@panix.com> wrote in <slrnuj2tm6.a30.theise@panix2.panix.com>: > Hi all, > > This is likley not a newsreader issue, but I'm not sure where else > I should post my question. > > I've been having trouble with charset translation of quoted text > in posts from slrn. It only seems to occur with a few posters and > only in one group that I've noticed. The posts in question are > generated from NewsTap/5.5 and G2, and I'm told at least one of > them is using utf-8. > > I've played around with PuTTY and slrn charset configs and can get > to something that works for me in terms of display, but when I > start a reply the problem appears. I call pico as the editor. > > Interestingly, when I post from a second shell account (Nyx) using > slrn with identical configs, the charset issue does not appear. > On further digging, I find this on Nyx: > > theise@nyx2:~$ pico --version > GNU nano, version 4.8 > (C) 1999-2011, 2013-2020 Free Software Foundation, Inc. > (C) 2014-2020 the contributors to nano > > I've pointed slrn to nano on my panix account, but no joy. I > don't find a way to configure the charset used by nano (or pine, > for that matter) and my sense from the scant info on the web is > that it may be a compiled in option. Another idea that I've had is > perhaps my locale or env settings are at play--but I can't find > anything relevant. > > Any tips on what I should try next would be greatly appreciated! > > FWIW, I do prefer pico to nano, because it does automatic soft > line wrapping as I edit, but I suspect nano would do this too if I > found the right config parameter. Hello, Does section 2.4 of the following document help? It regards using UTF-8 with external editors: https://slrn.info/docs/slrn-FAQ.txt The instructions in that section regard Windows, but I can't see that you couldn't use those settings for invoking an external utf-8-capable editor. Then I created a file with a utf-8 character.[*] On Linux Mint, both joe(1) and nano(1) displayed it properly. (pico is a link to nano). _ _ _ _ _ _ _ $ nano --version GNU nano, version 6.2 (C) 1999-2011, 2013-2022 Free Software Foundation, Inc. (C) 2014-2022 the contributors to nano Compiled options: --disable-libmagic --enable-utf8 _ _ _ _ _ _ _ So it appears nano may need to be compiled with --enable-utf8 to support that functionality, if I'm not thoroughly mistaken. (I don't use slrn, so not sure if this helps.) [*] utf-8 file I created was basically my command prompt: _[/home/vallor]_(vallor@lm)🐧_ $ -- -v 🖖️
Technical Details
Message-ID:
<ugsqtm$q6fb$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<slrnuj2tm6.a30.theise@panix2.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <ugsqtm$q6fb$1@dont-email.me>
Subject: Re: charset issues
Date: Fri, 20 Oct 2023 03:07:35 +0000
From: vallor <vallor@cultnix.org>
References: <slrnuj2tm6.a30.theise@panix2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 75
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 20 Oct 2023 03:07:35 -0000 (UTC)
Cancel-Lock: sha1:f/+bP3dAw5qJU7Z+8UXx+pnAXUo=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ