unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* default encoding for scm_primitive_load
@ 2011-02-13  9:45 Andy Wingo
  2011-02-13 14:18 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2011-02-13  9:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

Hi Ludo,

Are these lines in load.c right?

      /* The file has no encoding declared.  We'll presume Latin-1.  */
      scm_i_set_port_encoding_x (port, NULL);

I thought we were defaulting to UTF-8 now.

Cheers,

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: default encoding for scm_primitive_load
  2011-02-13  9:45 default encoding for scm_primitive_load Andy Wingo
@ 2011-02-13 14:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-02-13 14:18 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Hi,

Andy Wingo <wingo@pobox.com> writes:

> Are these lines in load.c right?
>
>       /* The file has no encoding declared.  We'll presume Latin-1.  */
>       scm_i_set_port_encoding_x (port, NULL);
>
> I thought we were defaulting to UTF-8 now.

Yes, ‘compile-file’ defaults to UTF-8, so the above line should be
adjusted accordingly.

Thanks,
Ludo’.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-13 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-13  9:45 default encoding for scm_primitive_load Andy Wingo
2011-02-13 14:18 ` Ludovic Courtès

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