Groups | Search | Server Info | Login | Register


Groups > de.comp.os.msdos > #1144

Re: [SvarDOS] UTF8TOCP usage

From Mateusz Viste <mateusz@xyz.invalid>
Newsgroups de.comp.os.msdos
Subject Re: [SvarDOS] UTF8TOCP usage
Date 2022-04-20 18:32 +0200
Organization . . .
Message-ID <t3pcjp$9d0$1@gioia.aioe.org> (permalink)
References <slrnt60b6h.259.roland.white@MELCHIOR.fritz.box>

Show all headers | View raw


On 20 Apr 2022 15:54:57 GMT Roland White wrote:

> UTF8TOCP.COM 437 ANYTEXT.TXT
> 
> only /shows/ ANYTEXT.TXT converted, but does not write it (as
> starry-eyed supposed #-).

How about using the standard redirector?

utf8tocp 437 anytext.txt > anytext2.txt

> to make it readable with PMAIL 3.50, which is suitable only for
> 7bit US-ASCII,

utf8tocp won't help there, as it converts UTF-8 to 8-bit codepages. Are
you sure that PMAIL handles only 7-bit ("low ASCII") characters?

> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> appears obviously wrong to be UTF-8 for the whole message, so
> UTF8TOCP.COM does no conversion at all.

utf8tocp converts UTF-8 text to a codepage (and vice versa), it knows
nothing about header declarations. That's for you to fix manually. Or
leave it as-is, perhaps PMAIL will ignore the declaration if it assumes
a specific codepage anyway.

Mateusz

Back to de.comp.os.msdos | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[SvarDOS] UTF8TOCP usage Roland White <roland.white@nitro-express.de> - 2022-04-20 15:54 +0000
  Re: [SvarDOS] UTF8TOCP usage Mateusz Viste <mateusz@xyz.invalid> - 2022-04-20 18:32 +0200
    Re: [SvarDOS] UTF8TOCP usage Roland White <roland.white@nitro-express.de> - 2022-04-22 06:19 +0000
      Re: [SvarDOS] UTF8TOCP usage Mateusz Viste <mateusz@xyz.invalid> - 2022-04-22 13:40 +0200
        Re: [SvarDOS] UTF8TOCP usage Roland White <roland.white@nitro-express.de> - 2022-04-23 07:09 +0000
          Re: [SvarDOS] UTF8TOCP usage Mateusz Viste <mateusz@xyz.invalid> - 2022-04-23 09:28 +0200
            Re: [SvarDOS] UTF8TOCP usage Mateusz Viste <mateusz@xyz.invalid> - 2022-04-23 16:20 +0200
              Re: [SvarDOS] UTF8TOCP usage Roland White <roland.white@nitro-express.de> - 2022-04-24 06:24 +0000
                Re: [SvarDOS] UTF8TOCP usage Mateusz Viste <mateusz@xyz.invalid> - 2022-04-24 09:55 +0200

csiph-web