This commit is contained in:
Vitor Santos Costa
2018-07-15 13:46:26 +01:00
parent 86c71b6da7
commit 52d69d3c06
6 changed files with 83 additions and 18 deletions

View File

@@ -550,10 +550,8 @@ unsigned char *Yap_readText(seq_tv_t *inp USES_REGS) {
POPRET( (char*)latin2utf8(inp));
}
if (inp->enc == ENC_ISO_UTF8) {
pop_text_stack(lvl);
return inp->val.c;
}
}
if (inp->type & YAP_STRING_WCHARS) {
// printf("%S\n",inp->val.w);