[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, master, updated. release_1-9-15-76-geb
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, master, updated. release_1-9-15-76-geb7a16a |
Date: |
Sun, 13 Feb 2011 17:14:02 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=eb7a16a9f802524f062ec48cf749da0253a1bbc5
The branch, master has been updated
via eb7a16a9f802524f062ec48cf749da0253a1bbc5 (commit)
from 7354a105cdd86d57a7c4805d736497acdf735d56 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit eb7a16a9f802524f062ec48cf749da0253a1bbc5
Author: Andy Wingo <address@hidden>
Date: Sun Feb 13 18:19:00 2011 +0100
primitive-load defaults to utf-8, not latin-1
* libguile/load.c (scm_primitive_load): Default to utf-8.
-----------------------------------------------------------------------
Summary of changes:
libguile/load.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libguile/load.c b/libguile/load.c
index cec59d1..082bebb 100644
--- a/libguile/load.c
+++ b/libguile/load.c
@@ -105,8 +105,9 @@ SCM_DEFINE (scm_primitive_load, "primitive-load", 1, 0, 0,
if (encoding)
scm_i_set_port_encoding_x (port, encoding);
else
- /* The file has no encoding declared. We'll presume Latin-1. */
- scm_i_set_port_encoding_x (port, NULL);
+ /* The file has no encoding declared. We'll presume UTF-8, like
+ compile-file does. */
+ scm_i_set_port_encoding_x (port, "UTF-8");
while (1)
{
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, master, updated. release_1-9-15-76-geb7a16a,
Andy Wingo <=