# \#utf8

**URL:** https://swi-prolog.discourse.group/tag/utf8/49.md

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

---

## [JavaScript object with Unicode property names in WASM](https://swi-prolog.discourse.group/t/javascript-object-with-unicode-property-names-in-wasm/9561)

<div class="topic-metadata">

**Author:** [@andrii](https://swi-prolog.discourse.group/u/andrii)\
**Replies:** 1\
**Last updated:** [April 2, 2026, 8:12am UTC](https://swi-prolog.discourse.group/t/javascript-object-with-unicode-property-names-in-wasm/9561 "2026-04-02T08:12:30Z")

</div>

I have a JS promise returning an object with property names in Ukrainian. Trying to use := to convert it to Prolog dictionary works, but the names of properties become malformed. For example, {елемент: “Стринг”} becomes…

---

## [Http\_open & json reponse & encoding](https://swi-prolog.discourse.group/t/http-open-json-reponse-encoding/1962)

<div class="topic-metadata">

**Author:** [@matteoredaelli](https://swi-prolog.discourse.group/u/matteoredaelli)\
**Replies:** 4\
**Last updated:** [March 5, 2020, 6:53pm UTC](https://swi-prolog.discourse.group/t/http-open-json-reponse-encoding/1962 "2020-03-05T18:53:43Z")

</div>

I’m using: SWI-Prolog (threaded, 64 bits, version 8.0.3) Using http\_open I would like to download json data from an external website but I cannot encode correctly the response data My code is :- use\_module(library(ht…

---

## [UTF-8 encode and decode](https://swi-prolog.discourse.group/t/utf-8-encode-and-decode/1894)

<div class="topic-metadata">

**Author:** [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Replies:** 0\
**Last updated:** [February 21, 2020, 12:59am UTC](https://swi-prolog.discourse.group/t/utf-8-encode-and-decode/1894 "2020-02-21T00:59:54Z")

</div>

Here are two test cases of utf8\_codes//1(source). One converts a Unicode code point to UTF-8 (encode) and the other converts a UTF-8 encoding to a Unicode code point (decode). :- begin\_tests(utf8). unicode\_utf8\_test\_ca…
