mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
5c1b759a42
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. |
||
---|---|---|
.. | ||
BUILDING | ||
CHANGES | ||
COPYING | ||
dynload.c | ||
dynload.h | ||
hack.txt | ||
init.scm | ||
Makefile.am | ||
Manual.txt | ||
MiniSCHEMETribute.txt | ||
opdefines.h | ||
README | ||
scheme-private.h | ||
scheme.c | ||
scheme.h |
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.