1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 20:30:28 +02:00
guile/doc/ref
Ludovic Courtès 7b0419128b Have string ports honor `%default-port-encoding'.
* libguile/strports.c (scm_i_mkstrport): Remove.
  (scm_mkstrport): Don't change the port's encoding to UTF-8; convert
  STR to the default port encoding.
  (scm_strport_to_string): Fix documentation & indentation.

* libguile/strports.h (scm_i_mkstrport): Remove.

* test-suite/lib.scm (exception:encoding-error): New variable.
  (format-test-name): Set `%default-port-encoding' to "UTF-8".

* test-suite/tests/ports.test ("string ports")["%default-port-encoding
  is honored", "suitable encoding [latin-1]", "suitable encoding
  [latin-3]", "wrong encoding"]: New tests.

* test-suite/tests/r6rs-ports.test ("7.2.11 Binary
  Output")["put-bytevector with UTF-16 string port", "put-bytevector
  with wrong-encoding string port"]: New tests.

* test-suite/tests/reader.test (read-string): Set
  `%default-port-encoding' to `#f'.
  ("reading")["unprintable symbol"]: Use a string that doesn't contain
  zeros.

* doc/ref/api-io.texi (String Ports): Document encoding issues with
  `call-with-output-string' and `with-output-to-string'.
2010-01-07 11:10:35 +01:00
..
.gitignore Git-Ignore effective-version.texi 2009-08-04 12:11:49 +01:00
api-binding.texi Change `defined?' to accept a module as its second argument. 2009-08-10 19:24:34 +02:00
api-compound.texi Automatic manual updates following libguile docstring changes 2009-12-27 23:24:09 +00:00
api-control.texi more typo fixes 2009-12-18 00:53:34 +00:00
api-data.texi Support for Unicode string normalization functions 2010-01-03 01:08:37 -05:00
api-debug.texi Incorporate ice-9-debugger-extensions properly 2009-08-27 22:21:20 +01:00
api-evaluation.texi Automatic manual updates following libguile docstring changes 2009-12-27 23:24:09 +00:00
api-i18n.texi Improved support for Unicode title case in Guile's string and character APIs. 2009-12-22 00:19:56 -05:00
api-init.texi Fix explicitely' typos, should be explicitly' 2009-05-20 18:51:03 +01:00
api-io.texi Have string ports honor `%default-port-encoding'. 2010-01-07 11:10:35 +01:00
api-memory.texi fix thinko in api-memory.texi 2009-09-18 16:27:32 +02:00
api-modules.texi Complete support for version information in Guile's `module' form. 2009-12-22 20:34:55 +01:00
api-options.texi Restore signature of `scm_search_path ()' as found in 1.8. 2009-11-01 23:29:36 +01:00
api-overview.texi * scheme-binding.texi: Renamed to api-binding.texi. 2004-08-02 12:29:00 +00:00
api-procedures.texi Automatic manual updates following libguile docstring changes 2009-12-27 23:24:09 +00:00
api-scheduling.texi Since support for "futures" in C has been completely disabled for some 2009-10-30 18:40:41 -04:00
api-scm.texi * scheme-binding.texi: Renamed to api-binding.texi. 2004-08-02 12:29:00 +00:00
api-smobs.texi Improve description of `scm_set_smob_mark ()'. 2009-09-28 23:32:34 +02:00
api-snarf.texi Typos fixed. Use existing functions in explaining symbol and keyword 2004-08-25 19:02:34 +00:00
api-translation.texi * scheme-binding.texi: Renamed to api-binding.texi. 2004-08-02 12:29:00 +00:00
api-undocumented.texi Automatic manual updates following libguile docstring changes 2009-12-27 23:24:09 +00:00
api-utility.texi more typo fixes 2009-12-18 00:53:34 +00:00
api.txt Changes in doc/ref: 2002-03-01 00:19:20 +00:00
autoconf.texi make the use of the 5-argument @xref command consistent 2009-12-18 01:21:55 +00:00
ChangeLog-2008 Rename ChangeLog' files to ChangeLog-2008'. 2008-09-12 21:49:58 +02:00
ChangeLog-goops-2008 Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
ChangeLog-guile-doc-ref
compiler.texi Document the interaction of the "compilee" with the compiler's current module. 2009-10-15 21:29:42 +02:00
data-rep.texi fix doc typo 2008-12-26 16:33:33 +01:00
effective-version.texi.in Add an effective version variable for the manual 2009-08-04 12:08:02 +01:00
expect.texi In general, use @lisp in preference to @smalllisp 2009-08-09 15:04:08 +01:00
extend.texi Added Copyright notice. 2004-01-21 22:40:39 +00:00
fdl.texi merge from 1.8 branch 2006-04-16 23:18:55 +00:00
gds.dia replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
gds.eps replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
gds.pdf replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
gds.txt replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
goops-tutorial.texi replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
goops.texi update news; ready for 1.9.3 2009-09-06 13:36:32 +02:00
guile.texi integrate guile-lib docs 2009-12-21 00:01:49 +01:00
hierarchy.eps Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
hierarchy.pdf Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
hierarchy.png Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
hierarchy.txt Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
history.texi more typo fixes 2009-12-18 00:53:34 +00:00
indices.texi Big reorganization of the whole manual to give it a simpler structure. 2004-04-21 14:33:05 +00:00
intro.texi use correct url to ftp.gnu.org 2009-12-17 23:17:41 +00:00
libguile-concepts.texi more typo fixes 2009-12-18 00:53:34 +00:00
libguile-extensions.texi In general, use @lisp in preference to @smalllisp 2009-08-09 15:04:08 +01:00
libguile-linking.texi Manual link from Guile Initialization' to Initialization' 2009-09-22 01:03:43 +01:00
libguile-program.texi (Dia Primitives): Cross ref for scm_c_define_gsubr. 2005-06-23 00:09:09 +00:00
libguile-smobs.texi more typo fixes 2009-12-18 00:53:34 +00:00
libguile-snarf.texi more typo fixes 2009-12-18 00:53:34 +00:00
make-texinfo.scm Remove dependency on GNU Make and reliance on /usr/bin/env. 2010-01-03 19:06:52 +01:00
Makefile.am Remove dependency on GNU Make and reliance on /usr/bin/env. 2010-01-03 19:06:52 +01:00
misc-modules.texi add truncated-print tests 2010-01-03 13:35:35 +01:00
mod-getopt-long.texi Big reorganization of the whole manual to give it a simpler structure. 2004-04-21 14:33:05 +00:00
mop.text Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
new-docstrings.texi Automatic manual updates following libguile docstring changes 2009-12-27 23:24:09 +00:00
posix.texi Doc for getsid 2009-12-27 18:44:41 +00:00
preface.texi Move GOOPS documentation into the main manual 2009-08-03 23:29:45 +01:00
repl-modules.texi merge from 1.8 branch 2006-10-09 22:47:06 +00:00
scheme-debugging.texi In general, use @lisp in preference to @smalllisp 2009-08-09 15:04:08 +01:00
scheme-ideas.texi make the use of the 5-argument @xref command consistent 2009-12-18 01:21:55 +00:00
scheme-indices.texi Added Copyright notice. 2004-01-21 22:40:39 +00:00
scheme-intro.texi Update and simplify statement about RnRS support 2009-12-18 01:21:55 +00:00
scheme-reading.texi Big reorganization of the whole manual to give it a simpler structure. 2004-04-21 14:33:05 +00:00
scheme-scripts.texi more typo fixes 2009-12-18 00:53:34 +00:00
scheme-using.texi replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.dia replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.eps replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.pdf replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
scheme.txt replace ascii figures with scalable ps/pdf versions. 2009-12-17 23:17:59 +00:00
script-getopt.texi Big reorganization of the whole manual to give it a simpler structure. 2004-04-21 14:33:05 +00:00
scsh.texi In general, use @lisp in preference to @smalllisp 2009-08-09 15:04:08 +01:00
slib.texi added brief introduction about SLIB 2009-12-18 00:51:20 +00:00
srfi-modules.texi more typo fixes 2009-12-18 00:53:34 +00:00
standard-library.am Remove dependency on GNU Make and reliance on /usr/bin/env. 2010-01-03 19:06:52 +01:00
standard-library.scm integrate guile-lib docs 2009-12-21 00:01:49 +01:00
tcltk.texi Added Copyright notice. 2004-01-21 22:40:39 +00:00
tools.texi Use #:keyword syntax in preference to :keyword 2009-08-09 15:05:02 +01:00
vm.texi rename goto/args and friends to tail-call, tail-apply, etc 2010-01-03 14:49:40 +01:00