From: Nala Ginrut <nalaginrut@gmail.com>
To: Adam Faiz <adam.faiz@disroot.org>
Cc: guile-devel@gnu.org, Ricardo Wurmus <rekado@elephly.net>,
Maxime Devos <maximedevos@telenet.be>
Subject: Re: [PATCH v2] rdelim: Add new procedure `for-line-in-file`.
Date: Mon, 16 Dec 2024 16:41:30 +0900 [thread overview]
Message-ID: <CAPjoZofRC4o5UaU0azp6aVad6tvU7LGHbAXdYhC4M1DrZiYL=A@mail.gmail.com> (raw)
In-Reply-To: <0c0bc19c-9b46-4da7-b200-3de0355949fa@disroot.org>
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
Hi Adam!
For string manipulation, the proper encoding has to be considered. It's
better to use the provided [#:guess-encoding=#f] [#:encoding=#f] as well.
You may take a look at call-with-input-file in document:
https://www.gnu.org/software/guile/manual/html_node/File-Ports.html
BTW, in your case, you can ignore the binary mode.
Best regards.
>
>
[-- Attachment #2: Type: text/html, Size: 1177 bytes --]
next prev parent reply other threads:[~2024-12-16 7:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 6:14 [PATCH v2] rdelim: Add new procedure `for-line-in-file` Adam Faiz
2024-12-16 7:41 ` Nala Ginrut [this message]
2024-12-16 10:17 ` Maxime Devos
2024-12-16 10:29 ` Nala Ginrut
2024-12-16 10:52 ` Maxime Devos
2024-12-16 11:06 ` Nala Ginrut
2024-12-16 12:00 ` Maxime Devos
2024-12-16 12:33 ` Nala Ginrut
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPjoZofRC4o5UaU0azp6aVad6tvU7LGHbAXdYhC4M1DrZiYL=A@mail.gmail.com' \
--to=nalaginrut@gmail.com \
--cc=adam.faiz@disroot.org \
--cc=guile-devel@gnu.org \
--cc=maximedevos@telenet.be \
--cc=rekado@elephly.net \
/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).