fix encoding for strings: it's utf-8
This commit is contained in:
@@ -419,7 +419,7 @@ int
|
|||||||
get_string_text(word w, PL_chars_t *text ARG_LD)
|
get_string_text(word w, PL_chars_t *text ARG_LD)
|
||||||
{
|
{
|
||||||
text->text.t = (char *)StringOfTerm(w);
|
text->text.t = (char *)StringOfTerm(w);
|
||||||
text->encoding = ENC_ISO_LATIN_1;
|
text->encoding = ENC_UTF8;
|
||||||
text->length = strlen(text->text.t);
|
text->length = strlen(text->text.t);
|
||||||
text->storage = PL_CHARS_STACK;
|
text->storage = PL_CHARS_STACK;
|
||||||
text->canonical = TRUE;
|
text->canonical = TRUE;
|
||||||
|
Submodule packages/real updated: 9c65bc4195...b646e31d74
Reference in New Issue
Block a user