From: Lokesh Janghel <lokeshjanghel91@gmail.com>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: Lokesh Janghel via Libc-alpha <libc-alpha@sourceware.org>,
libc-locales@sourceware.org
Subject: Re: iconv: illegal input sequence
Date: Tue, 30 Mar 2021 12:00:02 +0530 [thread overview]
Message-ID: <CACcU4_qtAjiF52FRttZdZLAKm26co2=rvvEi=czc-QQN+KKD6A@mail.gmail.com> (raw)
In-Reply-To: <87k0pp19e1.fsf@mid.deneb.enyo.de>
> Please post a hex dump of the input file.
$ hd test_sjis.cxx
00000000 0a 23 69 66 20 30 0a 23 69 6e 63 6c 75 64 65 20 |.#if
0.#include |
00000010 3c 76 78 57 6f 72 6b 73 2e 68 3e 0a 23 65 6e 64
|<vxWorks.h>.#end|
00000020 69 66 0a 23 69 6e 63 6c 75 64 65 20 3c 73 74 64 |if.#include
<std|
00000030 69 6f 2e 68 3e 0a 0a 0a 76 6f 69 64 20 74 65 73 |io.h>...void
tes|
00000040 74 5f 73 6a 69 73 28 29 0a 7b 0a 20 20 20 20 70 |t_sjis().{.
p|
00000050 72 69 6e 74 66 28 22 82 b1 82 ea 82 cd 53 68 69
|rintf("......Shi|
00000060 66 74 2d 4a 49 53 82 cc 83 65 83 58 83 67 82 c5
|ft-JIS...e.X.g..|
00000070 82 b7 81 42 5c 6e 22 29 3b 0a 7d 0a |...B\n");.}.|
0000007c
On Tue, Mar 30, 2021 at 11:16 AM Florian Weimer <fw@deneb.enyo.de> wrote:
> * Lokesh Janghel via Libc-alpha:
>
> > Hi,
> >
> > As my file is the Shift_JIS format:
> > ...
> > $ nkf --guess test_sjis.cxx
> > Shift_JIS (LF)
> > ...
>
> Please post a hex dump of the input file.
>
next prev parent reply other threads:[~2021-03-30 6:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-10 9:09 Lokesh Janghel
2021-03-10 9:20 ` Florian Weimer
2021-03-30 5:22 ` Lokesh Janghel
2021-03-30 5:46 ` Florian Weimer
2021-03-30 6:30 ` Lokesh Janghel [this message]
2021-03-30 8:22 ` Andreas Schwab
2021-03-31 13:02 ` Lokesh Janghel
2021-03-31 13:12 ` Andreas Schwab
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='CACcU4_qtAjiF52FRttZdZLAKm26co2=rvvEi=czc-QQN+KKD6A@mail.gmail.com' \
--to=lokeshjanghel91@gmail.com \
--cc=fw@deneb.enyo.de \
--cc=libc-alpha@sourceware.org \
--cc=libc-locales@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).