util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: walter harms <wharms@bfs.de>
To: util-linux@vger.kernel.org
Subject: bug: util-linux-2.21.2 col
Date: Tue, 24 Jul 2012 16:29:52 +0200	[thread overview]
Message-ID: <500EB160.2020504@bfs.de> (raw)

hi list,
i run into a problem while processing a latin1 file:
col: Invalid or incomplete multibyte or wide character

./col -p -b -l0 <out.asc

out.asc:
^H^H^H^H|DATUM  :    2008-05-07
^H^H^H^H| Schlüssel

the problem occurs at ü (note: clipping may have changed latin1->utf8).

i guess the error occurs here:
               if ((ch = getwchar()) == WEOF) {
                        if (errno == EILSEQ) {
                                warn(NULL);
                                ret = EXIT_FAILURE;
                        }
                        break;

re,
 wh

note: i am not member of the ml

                 reply	other threads:[~2012-07-24 14:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500EB160.2020504@bfs.de \
    --to=wharms@bfs.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).