# \#unicode

**URL:** https://discourse.psychopy.org/tag/unicode/13.md

[Latest](https://discourse.psychopy.org/latest.md) · [Categories](https://discourse.psychopy.org/categories.md) · [Tags](https://discourse.psychopy.org/tags.md)

---

## [TextBox2 sometimes doesn't display UTF characters](https://discourse.psychopy.org/t/textbox2-sometimes-doesnt-display-utf-characters/38335)

<div class="topic-metadata">

**Author:** [@alonhovavshamir](https://discourse.psychopy.org/u/alonhovavshamir)\
**Replies:** 0\
**Last updated:** [January 23, 2024, 10:48am UTC](https://discourse.psychopy.org/t/textbox2-sometimes-doesnt-display-utf-characters/38335 "2024-01-23T10:48:32Z")

</div>

I am trying to display UTF characters using TextBox2. Some of the times I run the program the characters are shown properly, and sometimes rectangles appear instead. This happens with the same code, without changes to …

---

## [Problems rendering unicode text with ligatures (in Devanagari)](https://discourse.psychopy.org/t/problems-rendering-unicode-text-with-ligatures-in-devanagari/30213)

<div class="topic-metadata">

**Author:** [@abhandari](https://discourse.psychopy.org/u/abhandari)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 12:23pm UTC](https://discourse.psychopy.org/t/problems-rendering-unicode-text-with-ligatures-in-devanagari/30213 "2022-07-29T12:23:35Z")

</div>

OS: MacOS 11.6.7 PsychoPy version: v2022.2.2 Standard Standalone? (y/n) : Y What are you trying to achieve?: I am trying to display three-character unicode strings as their appropriate ligature glyph in Devanagari us…

---

## [Error while displaying text stimuli in Thai](https://discourse.psychopy.org/t/error-while-displaying-text-stimuli-in-thai/18474)

<div class="topic-metadata">

**Author:** [@wlannnnn](https://discourse.psychopy.org/u/wlannnnn)\
**Replies:** 7\
**Last updated:** [November 29, 2020, 12:39am UTC](https://discourse.psychopy.org/t/error-while-displaying-text-stimuli-in-thai/18474 "2020-11-29T00:39:35Z")

</div>

I’m building a multilingual vocal Stroop experiment, in which the subject should name the ink color in a different language from the stimuli. My text stimuli include Thai color words, e.g. ขาว แดง เขียว เหลือง ชมพู ม่วง…

---

## [Get the unicode string input in Psychopy?](https://discourse.psychopy.org/t/get-the-unicode-string-input-in-psychopy/8497)

<div class="topic-metadata">

**Author:** [@cnsla](https://discourse.psychopy.org/u/cnsla)\
**Replies:** 4\
**Last updated:** [July 18, 2019, 8:04am UTC](https://discourse.psychopy.org/t/get-the-unicode-string-input-in-psychopy/8497 "2019-07-18T08:04:34Z")

</div>

Displaying unicode text works quite well in PsychoPY3, via using u before unicode data. However event.getKeys cannot receive any non-ascii input in MacOS. (I believe the situation might same in Windows). It provides th…

---

## [Issue displaying Thai characters](https://discourse.psychopy.org/t/issue-displaying-thai-characters/3789)

<div class="topic-metadata">

**Author:** [@alxndr.martin](https://discourse.psychopy.org/u/alxndr.martin)\
**Replies:** 3\
**Last updated:** [February 7, 2018, 11:47am UTC](https://discourse.psychopy.org/t/issue-displaying-thai-characters/3789 "2018-02-07T11:47:59Z")

</div>

Hi all, I’m currently translating an experiment I programmed in English into Thai. When using visual.TextStim(), the text u"วลีที่ต้องแปล" doesn’t render quite properly. All but the character before last (ป) displays …

---

## [Unicode DeCode Error 'utf8' codec and audio driver](https://discourse.psychopy.org/t/unicode-decode-error-utf8-codec-and-audio-driver/3417)

<div class="topic-metadata">

**Author:** [@saluwe](https://discourse.psychopy.org/u/saluwe)\
**Replies:** 2\
**Last updated:** [November 14, 2017, 12:51pm UTC](https://discourse.psychopy.org/t/unicode-decode-error-utf8-codec-and-audio-driver/3417 "2017-11-14T12:51:02Z")

</div>

OS: Windows 7 PsychoPy version (e.g. 1.84.x): 1.83.04 Standard Standalone? (y/n) y: What are you trying to achieve?: An experiment with text and audio stimuli What specifically went wrong when you tried that?: The …

---

## [UnicodeDecodeError](https://discourse.psychopy.org/t/unicodedecodeerror/1954)

<div class="topic-metadata">

**Author:** [@AnnArt](https://discourse.psychopy.org/u/AnnArt)\
**Replies:** 19\
**Last updated:** [February 28, 2017, 7:52pm UTC](https://discourse.psychopy.org/t/unicodedecodeerror/1954 "2017-02-28T19:52:21Z")

</div>

Hi. I make an experiment in psychopy and I want participants to type answers using the keyboard. The problem is that the language of the experiment is not English, and the responses should be written in Cyrilic font, but…

---

## [Change Unicode from horizontal alignment to vertical](https://discourse.psychopy.org/t/change-unicode-from-horizontal-alignment-to-vertical/1510)

<div class="topic-metadata">

**Author:** [@juanvic5185](https://discourse.psychopy.org/u/juanvic5185)\
**Replies:** 6\
**Last updated:** [November 22, 2016, 9:41pm UTC](https://discourse.psychopy.org/t/change-unicode-from-horizontal-alignment-to-vertical/1510 "2016-11-22T21:41:15Z")

</div>

Hello. We are trying to present a set of arrows in a vertical alignment. When the format for cases in the spreadsheet are reset to vertical and then import the spreadsheet to the builder I get: pointer.setText Attrib…

---

## [Printing Unicode](https://discourse.psychopy.org/t/printing-unicode/860)

<div class="topic-metadata">

**Author:** [@jonasolsendall](https://discourse.psychopy.org/u/jonasolsendall)\
**Replies:** 9\
**Last updated:** [August 17, 2016, 12:49pm UTC](https://discourse.psychopy.org/t/printing-unicode/860 "2016-08-17T12:49:50Z")

</div>

Is it possible to write Unicode in the output, since it says: print u'çŠ¬' UnicodeEncodeError: 'ascii' codec can't encode character u'\\u72ac' in position 0: ordinal not in range(128) If I try: print u'犬' I have j…
