gimp/plug-ins/script-fu/tinyscheme
Kevin Cozens 5c1b759a42 Made readstr_upto() stop reading input when it hits a NUL byte. Fixes
2005-04-17  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Made readstr_upto() stop reading input when it
	hits a NUL byte. Fixes problem reported by Sam Phillips. Added check
	for an EOF character in is_one_of() as was in the original version of
	TinyScheme. Also removed some #if'ed code.
2005-04-17 18:10:21 +00:00
..
BUILDING Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
CHANGES Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
COPYING Initial revision 2004-10-06 21:47:36 +00:00
Makefile.am ftx/Makefile.am re/Makefile.am scripts/Makefile.am 2004-10-09 04:23:59 +00:00
Manual.txt Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
MiniSCHEMETribute.txt Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
README tinyscheme/README 2005-03-17 20:10:42 +00:00
dynload.c Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
dynload.h Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
hack.txt Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
init.scm Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
opdefines.h Initial revision 2004-10-06 21:47:36 +00:00
scheme-private.h tinyscheme/README 2005-03-17 20:10:42 +00:00
scheme.c Made readstr_upto() stop reading input when it hits a NUL byte. Fixes 2005-04-17 18:10:21 +00:00
scheme.h tinyscheme/README 2005-03-17 20:10:42 +00:00

README

This directory contains a version of TinyScheme which has been modified
to support UTF-8 coded strings. The strings stored in a data cell are
expected to be in UTF-8 format. This allows the continued use of gchar
pointers to pass around the strings. Processing the strings will require
conversion to unicode at times depending on the specific operation that
needs to be done on the UTF-8 coded strings.

The string length value stored in a data cell is the length in bytes of that
string including the terminating NUL.

Routines that want a string length for a UTF-8 coded string will be passed
the number of characters and not the number of bytes. If the number of bytes
is needed, the normal call to strlen() will work.