unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: <tomas@tuxteam.de>
To: guile-user@gnu.org
Subject: Re: filename(CJK utf8) problem on OSX.
Date: Mon, 28 Mar 2016 07:35:49 +0200	[thread overview]
Message-ID: <20160328053549.GA21784@tuxteam.de> (raw)
In-Reply-To: <D96207EF-D334-4742-90BF-0A48CC64A4A4@icloud.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Mar 28, 2016 at 10:21:46AM +0900, Park SungMin wrote:
> follow code….. I just test openfile(CJK filename).
> "open-file" and "call-with-input-file" are raise error.  so I test use low C(Posix) API, then run ok!
> I don’t know is it bug? or option problem? 

[...]

> ;;but….
> (file-exists? filename) ;; #f
> (open-file filename "r") ; ERROR: In procedure open-file: No such file or directory: "/Users/byul/Desktop/사진.gif"

I think the port encoding has nothing to do with the encoding
of the file name. It is effective only once you've opened the
file (i.e. for the file content). For the file name, I'd say
your current locale is the relevant thing; start here:

  https://www.gnu.org/software/guile/manual/html_node/Locales.html

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlb4wrUACgkQBcgs9XrR2kZQLACbBVv12GD1IbReUY/cks1gavv5
lAMAni15UHKElYjKhSkimM48fMum27QN
=bfF7
-----END PGP SIGNATURE-----



  parent reply	other threads:[~2016-03-28  5:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28  1:21 filename(CJK utf8) problem on OSX Park SungMin
2016-03-28  4:59 ` Alex Vong
2016-03-28  5:35 ` tomas [this message]
2016-03-28 15:07 ` Eli Zaretskii

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=20160328053549.GA21784@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=guile-user@gnu.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).