fix encoding for strings: it's utf-8

This commit is contained in:
Vitor Santos Costa 2014-01-28 14:15:40 +00:00
parent 327c1216e4
commit 598267ca23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

@ -1 +1 @@
Subproject commit 9c65bc41956b387fb41a7a91f67c65611c5c9466
Subproject commit b646e31d74fc7bd68c100d862c24ea9b371eb470