summaryrefslogtreecommitdiffstats
path: root/plug-ins/script-fu/tinyscheme/README
blob: 44111193c9ffc2f1cdff6a070b3b4dd1e4636840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.