jupyter-related-fixes
This commit is contained in:
5
C/text.c
5
C/text.c
@@ -533,9 +533,8 @@ unsigned char *Yap_readText(seq_tv_t *inp USES_REGS) {
|
||||
#endif
|
||||
if (inp->type & YAP_STRING_TERM) {
|
||||
// Yap_DebugPlWriteln(inp->val.t);
|
||||
char *s = (char *)Yap_TermToBuffer(inp->val.t, ENC_ISO_UTF8, 0);
|
||||
return inp->val.uc = pop_output_text_stack(lvl, s);
|
||||
}
|
||||
char *s = (char *)Yap_TermToBuffer(inp->val.t, 0);
|
||||
}
|
||||
if (inp->type & YAP_STRING_CHARS) {
|
||||
pop_text_stack(lvl);
|
||||
if (inp->enc == ENC_ISO_LATIN1) {
|
||||
|
Reference in New Issue
Block a user