guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filename(CJK utf8) problem on OSX.


From: tomas
Subject: Re: filename(CJK utf8) problem on OSX.
Date: Mon, 28 Mar 2016 07:35:49 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]