publish peek

This commit is contained in:
Vítor Santos Costa
2015-10-11 04:23:16 +01:00
parent aaca416b93
commit 1408237215
3 changed files with 11 additions and 8 deletions

View File

@@ -378,6 +378,7 @@ Yap_readText( void *buf, seq_tv_t *inp, encoding_t *enc, int *minimal, size_t *l
// this is a term, extract the UTF8 representation
if ( IsStringTerm(inp->val.t)) {
const char *s = inp->val.t;
*enc = ENC_ISO_UTF8;
*minimal = FALSE;
if (lengp)