From 598267ca23ef64c2122e53a867d3865c2a56e56b Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Tue, 28 Jan 2014 14:15:40 +0000 Subject: [PATCH] fix encoding for strings: it's utf-8 --- C/pl-yap.c | 2 +- packages/real | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C/pl-yap.c b/C/pl-yap.c index 68dbd958f..36f76eb25 100755 --- a/C/pl-yap.c +++ b/C/pl-yap.c @@ -419,7 +419,7 @@ int get_string_text(word w, PL_chars_t *text ARG_LD) { text->text.t = (char *)StringOfTerm(w); - text->encoding = ENC_ISO_LATIN_1; + text->encoding = ENC_UTF8; text->length = strlen(text->text.t); text->storage = PL_CHARS_STACK; text->canonical = TRUE; diff --git a/packages/real b/packages/real index 9c65bc419..b646e31d7 160000 --- a/packages/real +++ b/packages/real @@ -1 +1 @@ -Subproject commit 9c65bc41956b387fb41a7a91f67c65611c5c9466 +Subproject commit b646e31d74fc7bd68c100d862c24ea9b371eb470